├── .editorconfig ├── .github └── workflows │ └── release.yml ├── .gitignore ├── .luarc.json ├── .pkgmeta ├── CHANGELOG.md ├── Checklist.lua ├── Constants.lua ├── Core.lua ├── Data.lua ├── Interface.lua ├── Libs ├── AceAddon-3.0 │ ├── AceAddon-3.0.lua │ └── AceAddon-3.0.xml ├── AceBucket-3.0 │ ├── AceBucket-3.0.lua │ └── AceBucket-3.0.xml ├── AceComm-3.0 │ ├── AceComm-3.0.lua │ ├── AceComm-3.0.xml │ └── ChatThrottleLib.lua ├── AceConfig-3.0 │ ├── AceConfig-3.0.lua │ ├── AceConfig-3.0.xml │ ├── AceConfigCmd-3.0 │ │ ├── AceConfigCmd-3.0.lua │ │ └── AceConfigCmd-3.0.xml │ ├── AceConfigDialog-3.0 │ │ ├── AceConfigDialog-3.0.lua │ │ └── AceConfigDialog-3.0.xml │ └── AceConfigRegistry-3.0 │ │ ├── AceConfigRegistry-3.0.lua │ │ └── AceConfigRegistry-3.0.xml ├── AceConsole-3.0 │ ├── AceConsole-3.0.lua │ └── AceConsole-3.0.xml ├── AceDB-3.0 │ ├── AceDB-3.0.lua │ └── AceDB-3.0.xml ├── AceEvent-3.0 │ ├── AceEvent-3.0.lua │ └── AceEvent-3.0.xml ├── AceGUI-3.0 │ ├── AceGUI-3.0.lua │ ├── AceGUI-3.0.xml │ └── widgets │ │ ├── AceGUIContainer-BlizOptionsGroup.lua │ │ ├── AceGUIContainer-DropDownGroup.lua │ │ ├── AceGUIContainer-Frame.lua │ │ ├── AceGUIContainer-InlineGroup.lua │ │ ├── AceGUIContainer-ScrollFrame.lua │ │ ├── AceGUIContainer-SimpleGroup.lua │ │ ├── AceGUIContainer-TabGroup.lua │ │ ├── AceGUIContainer-TreeGroup.lua │ │ ├── AceGUIContainer-Window.lua │ │ ├── AceGUIWidget-Button.lua │ │ ├── AceGUIWidget-CheckBox.lua │ │ ├── AceGUIWidget-ColorPicker.lua │ │ ├── AceGUIWidget-DropDown-Items.lua │ │ ├── AceGUIWidget-DropDown.lua │ │ ├── AceGUIWidget-EditBox.lua │ │ ├── AceGUIWidget-Heading.lua │ │ ├── AceGUIWidget-Icon.lua │ │ ├── AceGUIWidget-InteractiveLabel.lua │ │ ├── AceGUIWidget-Keybinding.lua │ │ ├── AceGUIWidget-Label.lua │ │ ├── AceGUIWidget-MultiLineEditBox.lua │ │ └── AceGUIWidget-Slider.lua ├── AceTimer-3.0 │ ├── AceTimer-3.0.lua │ └── AceTimer-3.0.xml ├── CallbackHandler-1.0 │ ├── CallbackHandler-1.0.lua │ └── CallbackHandler-1.0.xml ├── LibDBIcon-1.0 │ ├── LibDBIcon-1.0.lua │ └── lib.xml ├── LibDataBroker-1.1 │ └── LibDataBroker-1.1.lua └── LibStub │ └── LibStub.lua ├── Main.lua ├── Media ├── Icon.blp ├── Icon.png ├── Icon.svg ├── Icon_Characters.blp ├── Icon_Characters.png ├── Icon_Checklist.blp ├── Icon_Checklist.png ├── Icon_Close.blp ├── Icon_Close.png ├── Icon_Columns.blp ├── Icon_Columns.png ├── Icon_Settings.blp ├── Icon_Settings.png ├── Icon_Toggle.blp ├── Icon_Toggle.png ├── Logo.jpg ├── Logo.png ├── Logo.psd ├── Screenshot1.png ├── Screenshot2.png ├── Screenshot3.png ├── Screenshot4.png ├── Screenshot5.png ├── Screenshot6.png └── ScreenshotOld.png ├── README.md ├── Types.lua ├── Utils.lua └── WeeklyKnowledge.toc /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_size = 2 6 | indent_style = space 7 | insert_final_newline = true 8 | 9 | [*.lua] 10 | align_array_table = true 11 | align_call_args = true 12 | align_continuous_rect_table_field = true 13 | continuation_indent = 2 14 | indent_size = 2 15 | max_line_length = unset 16 | quote_style = double 17 | space_around_table_field_list = false 18 | space_before_attribute = false 19 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Package and release 2 | 3 | on: 4 | push: 5 | tags: 6 | - "v*" 7 | 8 | jobs: 9 | release: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Git good 14 | uses: actions/checkout@v4 15 | with: 16 | fetch-depth: 0 17 | 18 | - name: Package and release 19 | uses: BigWigsMods/packager@master 20 | env: 21 | CF_API_KEY: ${{ secrets.CF_API_KEY }} 22 | GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} 23 | WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} 24 | WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | /docs 3 | -------------------------------------------------------------------------------- /.luarc.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtime.version": "Lua 5.1", 3 | "workspace.ignoreDir": [ 4 | ".vscode", 5 | "Libs/" 6 | ], 7 | "diagnostics.disable": [ 8 | "deprecated", 9 | "duplicate-set-field", 10 | "inject-field", 11 | "undefined-field" 12 | ], 13 | "diagnostics.globals": [ 14 | "_G", 15 | "ACCEPT", 16 | "AddonCompartmentFrame", 17 | "C_ChallengeMode", 18 | "C_ClassColor", 19 | "C_Container", 20 | "C_DateAndTime", 21 | "C_MythicPlus", 22 | "C_PlayerInfo", 23 | "C_Timer", 24 | "C_WeeklyRewards", 25 | "CANCEL", 26 | "CHARACTER", 27 | "ChatEdit_GetActiveWindow", 28 | "ChatEdit_InsertLink", 29 | "ChatFontNormal", 30 | "ChatFrame_OpenChat", 31 | "CLOSE", 32 | "ColorPickerFrame", 33 | "CreateColor", 34 | "CreateColorFromHexString", 35 | "CreateFrame", 36 | "date", 37 | "DEFAULT_CHAT_FRAME", 38 | "DevTools_Dump", 39 | "DUNGEON_SCORE_BEST_AFFIX", 40 | "DUNGEON_SCORE_LINK", 41 | "DUNGEON_SCORE_OVERTIME_TIME", 42 | "DUNGEON_SCORE_TOTAL_SCORE", 43 | "EJ_GetEncounterInfoByIndex", 44 | "EJ_SelectInstance", 45 | "Enum", 46 | "EPIC_PURPLE_COLOR", 47 | "floor", 48 | "FONT_COLOR_CODE_CLOSE", 49 | "format", 50 | "GameFontDisableSmall", 51 | "GameFontHighlight", 52 | "GameFontHighlightLarge", 53 | "GameFontHighlightSmall", 54 | "GameFontNormal", 55 | "GameFontNormalSmall", 56 | "GameTooltip_AddBlankLineToTooltip", 57 | "GameTooltip_AddColoredLine", 58 | "GameTooltip_AddNormalLine", 59 | "GameTooltip", 60 | "GetAverageItemLevel", 61 | "GetDetailedItemLevelInfo", 62 | "GetDifficultyInfo", 63 | "GetItemLevelColor", 64 | "GetNumSavedInstances", 65 | "GetRealmName", 66 | "GetSavedInstanceChatLink", 67 | "GetSavedInstanceEncounterInfo", 68 | "GetSavedInstanceInfo", 69 | "GetScreenWidth", 70 | "GetServerTime", 71 | "GREAT_VAULT_IMPROVE_REWARD", 72 | "GREAT_VAULT_REWARDS_MYTHIC_COMPLETED_FIRST", 73 | "GREAT_VAULT_REWARDS_MYTHIC_COMPLETED_SECOND", 74 | "GREAT_VAULT_REWARDS_MYTHIC_COMPLETED_THIRD", 75 | "GREAT_VAULT_REWARDS_MYTHIC_IMPROVE", 76 | "GREAT_VAULT_REWARDS_MYTHIC_INCOMPLETE", 77 | "GREAT_VAULT_REWARDS_WAITING", 78 | "GREEN_FONT_COLOR", 79 | "hash_SlashCmdList", 80 | "HIGHLIGHT_FONT_COLOR_CODE", 81 | "HIGHLIGHT_FONT_COLOR", 82 | "InterfaceOptions_AddCategory", 83 | "ipairs", 84 | "IsModifiedClick", 85 | "IsSecureCmd", 86 | "LEGENDARY_ORANGE_COLOR", 87 | "LIGHTGRAY_FONT_COLOR", 88 | "LinkUtil", 89 | "math", 90 | "MYTHIC_PLUS_POWER_LEVEL", 91 | "NORMAL_FONT_COLOR_CODE", 92 | "NORMAL_FONT_COLOR", 93 | "NOT_BOUND", 94 | "NUM_BAG_SLOTS", 95 | "NUM_CHAT_WINDOWS", 96 | "OKAY", 97 | "OpacitySliderFrame", 98 | "pairs", 99 | "PAPERDOLLFRAME_TOOLTIP_FORMAT", 100 | "RARE_BLUE_COLOR", 101 | "RequestRaidInfo", 102 | "SECONDS_PER_HOUR", 103 | "SecondsToClock", 104 | "SELECTED_CHAT_FRAME", 105 | "SetDesaturation", 106 | "Settings", 107 | "SlashCmdList", 108 | "STAT_AVERAGE_ITEM_LEVEL_EQUIPPED", 109 | "STAT_AVERAGE_ITEM_LEVEL_TOOLTIP", 110 | "STAT_AVERAGE_ITEM_LEVEL", 111 | "STAT_AVERAGE_PVP_ITEM_LEVEL", 112 | "string", 113 | "strsplit", 114 | "strtrim", 115 | "table", 116 | "time", 117 | "ToggleDropDownMenu", 118 | "tonumber", 119 | "tostring", 120 | "type", 121 | "UIDropDownMenu_AddButton", 122 | "UIDropDownMenu_Initialize", 123 | "UIDropDownMenu_SetWidth", 124 | "UIParent", 125 | "UISpecialFrames", 126 | "UNCOMMON_GREEN_COLOR", 127 | "UnitClass", 128 | "UnitFactionGroup", 129 | "UnitGUID", 130 | "UnitLevel", 131 | "UnitName", 132 | "UnitRace", 133 | "unpack", 134 | "WHITE_FONT_COLOR", 135 | "wipe", 136 | "WrapTextInColorCode", 137 | "LibStub", 138 | "WeeklyRewardsUtil", 139 | "GREAT_VAULT_REWARDS_HEROIC_IMPROVE", 140 | "INSTANCE_RESET_SUCCESS", 141 | "RESET_INSTANCES", 142 | "INSTANCE_RESET_FAILED", 143 | "INSTANCE_RESET_FAILED_OFFLINE", 144 | "INSTANCE_RESET_FAILED_ZONING", 145 | "STANDARD_TEXT_FONT", 146 | "UIDropDownMenuButton_OpenColorPicker", 147 | "CreateSimpleTextureMarkup", 148 | "ITEM_UPGRADE_TOOLTIP_FORMAT_STRING", 149 | "RED_FONT_COLOR", 150 | "PVPUtil", 151 | "GetProfessions", 152 | "C_Traits", 153 | "IsPlayerSpell", 154 | "C_QuestLog", 155 | "C_ProfSpecs", 156 | "C_Calendar", 157 | "GetProfessionInfo", 158 | "MenuUtil", 159 | "GameTooltip_SetTitle", 160 | "ChatFrame_OpenChat", 161 | "ChatEdit_InsertLink", 162 | "HelpTip", 163 | "MAP_PIN_HYPERLINK", 164 | "UiMapPoint", 165 | "CreateSimpleTextureMarkup" 166 | ] 167 | } 168 | -------------------------------------------------------------------------------- /.pkgmeta: -------------------------------------------------------------------------------- 1 | package-as: WeeklyKnowledge 2 | 3 | enable-nolib-creation: no 4 | 5 | ignore: 6 | - "*.png" 7 | - "*.jpg" 8 | - "*.psd" 9 | 10 | manual-changelog: 11 | filename: CHANGELOG.md 12 | markup-type: markdown 13 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.1.9 - 2025-03-13 4 | 5 | ### Updated 6 | 7 | - Catch-Up objectives in the Checklist no longer include knowledge points available for the current week (Thanks to [Belazor](https://github.com/belazor-wow/)) 8 | 9 | ### Fixed 10 | 11 | - Resolved an issue where old characters without Catch-Up currency info were causing errors 12 | 13 | ## v1.1.8 - 2025-02-26 14 | 15 | ### Added 16 | 17 | - Added Catch-Up objectives to the Checklist (Thanks to [Belazor](https://github.com/belazor-wow/)) 18 | - Added addon category for the new AddOn List. Credit: Warcraft Wiki 19 | 20 | ### Updated 21 | 22 | - Improved the performance of the addon when not shown on screen 23 | - Updated the TOC number to support patch 11.1 24 | 25 | ### Fixed 26 | 27 | - Fixed a bug related to the Darkmoon Faire (Thanks to [Belazor](https://github.com/belazor-wow/)) 28 | 29 | ## v1.1.7 - 2024-10-16 30 | 31 | ### Added 32 | 33 | - Introduced a new Catch-Up column. Feedback is greatly appreciated! 34 | 35 | ### Updated 36 | 37 | - Window frames can now be partially dragged off-screen to the sides and bottom. 38 | 39 | ### Fixed 40 | 41 | - Resolved an issue where ghost characters were appearing on the character list. 42 | 43 | ## v1.1.6 - 2024-09-16 44 | 45 | _Please note: You will need to log in to your characters again to apply the following changes._ 46 | 47 | ### Added 48 | 49 | - Introduced a column indicator displaying unspent knowledge points 50 | - Added a new tooltip for the Knowledge column 51 | - The new Knowledge tooltip now shows an overview of spent, unspent, and maximum knowledge points 52 | - Added a profession specialization overview to the Knowledge tooltip 53 | 54 | ### Fixed 55 | 56 | - Resolved an issue where knowledge points would increase after every reload 57 | - Fixed a bug that prevented profession skill levels from updating during gameplay 58 | 59 | ## v1.1.5 - 2024-09-15 60 | 61 | ### Added 62 | 63 | - Added a new Character setting for hiding unused professions 64 | 65 | ## v1.1.4 - 2024-09-11 66 | 67 | ### Fixed 68 | 69 | - Fixed a bug with unused/invalid characters causing errors 70 | - Fixed a bug with characters not showing up in the main window or dropdown 71 | 72 | ## v1.1.3 - 2024-09-09 73 | 74 | ### Added 75 | 76 | - Introduced a new Checklist setting: "Hide all uniques" 77 | - Added a Checklist setting for hiding vendor-specific uniques 78 | - Integrated support for TomTom waypoints within the Checklist window 79 | - Right clicking the minimap icon will now open the Checklist window 80 | 81 | ### Updated 82 | 83 | - Expanded and improved detailed descriptions for many world uniques 84 | - The Darkmoon Faire column now automatically hides when the event is inactive 85 | - Adjusted scrolling behavior to move by 2 rows for smoother navigation 86 | - Redesigned scrollbars to be more visible, user-friendly, and less prone to bugs 87 | - Addon windows now remain behind other UI elements unless selected 88 | 89 | ### Fixed 90 | 91 | - Darkmoon Faire objectives will now correctly disappear from the checklist when the event is inactive 92 | - Resolved an old issue with character sorting 93 | - Fixed an issue where checklist waypoint icons weren't displaying properly for certain players 94 | 95 | ## v1.1.2 - 2024-09-08 96 | 97 | ### Added 98 | 99 | - Added a new checklist column: Location 100 | 101 | ### Updated 102 | 103 | - Added detailed descriptions to most world uniques 104 | 105 | ### Fixed 106 | 107 | - Fixed an incorect location for Jewel-Etched Tailoring Notes (Thanks Shikimi) 108 | - Fixed a major issue of "ADDON_ACTION_BLOCKED" in certain situations while in combat (A massive thanks to Linaori, Numy and Meo 🦆 from the WoWUIDev Discord server for helping with the investigation and solution) 109 | 110 | ## v1.1.1 - 2024-09-07 111 | 112 | ### Fixed 113 | 114 | - Adjusted the requirements for the Darkmoon Faire quest "Eyes on the Prizes" (Thanks masterkain) 115 | 116 | ## v1.1.0 - 2024-09-07 117 | 118 | A big shout-out to the WoWUIDev Discord community for all the guidance, help and testing. You rock! 119 | If you encounter a bug or incorrect data, please don't hesitate to reach out. Write a comment or visit the GitHub source :-) 120 | Thank you for your support. 121 | 122 | ### Added 123 | 124 | - Added a new Checklist window 125 | - Added map/location sources to objectives 126 | - Added hints on how to complete objectives 127 | - Added waypoints for objectives 128 | - Added requirements for objectives 129 | - You can now see the items missing/needed in the main window tooltips 130 | - New Setting: Show/hide window border 131 | 132 | ### Updated 133 | 134 | - Updated a couple of tooltip descriptions 135 | 136 | ### Fixed 137 | 138 | - Fixed a bug with Darkmoon values not showing on login (Thansk @Lombra) 139 | - Fixed a bug with ghost characters showing up on the list (scary!) 140 | - Scrollbars no longer overlap the column headers 141 | - Background color of column headers are no longer just grey if window color is different 142 | - Fixed a bug with transparent background colors not being transparent 143 | 144 | ## v1.0.4 - 2024-09-04 145 | 146 | ### Fixed 147 | 148 | - Fixed a bug with weekly reset. Character progress should now be reset. A big shout-out to the player community in the comments for showing interest in helping fix these issues. You are much appreciated! 149 | 150 | ## v1.0.3 - 2024-09-01 151 | 152 | ### Added 153 | 154 | - New column: Realm 155 | - New setting: You can now show/hide characters 156 | - New setting: You can now show/hide columns 157 | - New setting: You can now show/hide the minimap icon 158 | - New setting: You can now lock the minimap icon 159 | - New setting: You can now scale the main window 160 | - New setting: You can now change the base color of the main window 161 | 162 | ### Updated 163 | 164 | - Addon interface has been fully rewritten with a new design 165 | - Column sorting is disabled for now. Will be back soon! 166 | - Characters are sorted by most recent activity for now. 167 | - Tooltips now show whether you are finding items or doing quests 168 | 169 | ### Fixed 170 | 171 | - Addon now updates when you learn/unlearn a TWW profession 172 | - Darkmoon Faire column is now visible 173 | - Characters with old expansion professions are no longer saved/shown 174 | - Fixed incorrect Darkmoon KP values 175 | - The addon performance has been improved using 100x less memory 176 | - Weekly progress will now reset for all characters on weekly reset 177 | - Added missing quest from the Enchanting trainer 178 | - Knowledge Points are now calculated properly for Trainer quests 179 | 180 | ## v1.0.2 - 2024-08-28 181 | 182 | ### Added 183 | 184 | - You can now close the window with the Escape key 185 | - Added new progress tooltips with knowledge points 186 | - Added a new command to show/hide the minimap icon 187 | 188 | ### Updated 189 | 190 | - Added colors to the header column 191 | - Renamed "Work Order" to "Artisan" 192 | - Rewritten column descriptions to clarify the sources 193 | - Updated the addon description 194 | 195 | ## v1.0.1 - 2024-08-27 196 | 197 | ### Fixed 198 | 199 | - Fixed a bug with missing libraries - Thanks @IvViral 200 | 201 | ## v1.0.0 - 2024-08-27 202 | 203 | - First release <3 204 | -------------------------------------------------------------------------------- /Constants.lua: -------------------------------------------------------------------------------- 1 | ---@type string 2 | local addonName = select(1, ...) 3 | ---@class WK_Addon 4 | local addon = select(2, ...) 5 | 6 | ---@class WK_Constants 7 | local Constants = {} 8 | addon.Constants = Constants 9 | 10 | Constants.TITLEBAR_HEIGHT = 30 11 | Constants.TABLE_ROW_HEIGHT = 24 12 | Constants.TABLE_HEADER_HEIGHT = 32 13 | Constants.TABLE_CELL_PADDING = 8 14 | Constants.MAX_WINDOW_HEIGHT = 500 15 | -------------------------------------------------------------------------------- /Core.lua: -------------------------------------------------------------------------------- 1 | ---@type string 2 | local addonName = select(1, ...) 3 | ---@class WK_Addon 4 | local addon = select(2, ...) 5 | 6 | local Data = addon.Data 7 | local Main = addon.Main 8 | local Checklist = addon.Checklist 9 | local LibDataBroker = LibStub("LibDataBroker-1.1") 10 | local LibDBIcon = LibStub("LibDBIcon-1.0") 11 | 12 | local Core = LibStub("AceAddon-3.0"):NewAddon(addonName, "AceConsole-3.0", "AceTimer-3.0", "AceEvent-3.0", "AceBucket-3.0") 13 | addon.Core = Core 14 | 15 | _G.WeeklyKnowledge = addon 16 | 17 | function Core:Render() 18 | Main:Render() 19 | Checklist:Render() 20 | end 21 | 22 | function Core:OnInitialize() 23 | _G["BINDING_NAME_WEEKLYKNOWLEDGE"] = "Show/Hide the window" 24 | self:RegisterChatCommand("wk", function() Main:ToggleWindow() end) 25 | self:RegisterChatCommand("weeklyknowledge", function() Main:ToggleWindow() end) 26 | 27 | Data:InitDB() 28 | Data:MigrateDB() 29 | if Data:TaskWeeklyReset() then 30 | self:Print("Weekly Reset: Good job! Progress of your characters have been reset for a new week.") 31 | end 32 | 33 | local WKLDB = LibDataBroker:NewDataObject(addonName, { 34 | label = addonName, 35 | type = "launcher", 36 | icon = "Interface/AddOns/WeeklyKnowledge/Media/Icon.blp", 37 | OnClick = function(...) 38 | local _, b = ... 39 | if b and b == "RightButton" then 40 | Checklist:ToggleWindow() 41 | else 42 | Main:ToggleWindow() 43 | end 44 | end, 45 | OnTooltipShow = function(tooltip) 46 | tooltip:SetText(addonName, 1, 1, 1) 47 | tooltip:AddLine("|cff00ff00Left click|r to open WeeklyKnowledge.", NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b) 48 | tooltip:AddLine("|cff00ff00Right click|r to open the Checklist.", NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b) 49 | local dragText = "|cff00ff00Drag|r to move this icon" 50 | if Data.db.global.minimap.lock then 51 | dragText = dragText .. " |cffff0000(locked)|r" 52 | end 53 | tooltip:AddLine(dragText .. ".", NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b) 54 | end 55 | }) 56 | LibDBIcon:Register(addonName, WKLDB, Data.db.global.minimap) 57 | LibDBIcon:AddButtonToCompartment(addonName) 58 | 59 | self:Render() 60 | end 61 | 62 | function Core:OnEnable() 63 | self:RegisterEvent("PLAYER_REGEN_DISABLED", function() 64 | Data.cache.inCombat = true 65 | self:Render() 66 | end) 67 | self:RegisterEvent("PLAYER_REGEN_ENABLED", function() 68 | Data.cache.inCombat = false 69 | self:Render() 70 | end) 71 | self:RegisterBucketEvent( 72 | { 73 | "ACTIVE_TALENT_GROUP_CHANGED", 74 | "BAG_UPDATE_DELAYED", 75 | "CHAT_MSG_LOOT", 76 | "ITEM_COUNT_CHANGED", 77 | "PLAYER_SPECIALIZATION_CHANGED", 78 | "PLAYER_TALENT_UPDATE", 79 | "QUEST_COMPLETE", 80 | "QUEST_TURNED_IN", 81 | "SKILL_LINES_CHANGED", 82 | "TRAIT_CONFIG_UPDATED", 83 | "UNIT_INVENTORY_CHANGED", 84 | }, 85 | 3, 86 | function() 87 | Data.cache.weeklyProgress = {} 88 | Data:ScanCharacter() 89 | self:Render() 90 | end 91 | ) 92 | 93 | self:RegisterBucketEvent({"CALENDAR_UPDATE_EVENT_LIST",}, 1, function() 94 | Data.cache.weeklyProgress = {} 95 | Data:ScanCalendar() 96 | self:Render() 97 | end) 98 | local currentCalendarTime = C_DateAndTime.GetCurrentCalendarTime() 99 | C_Calendar.SetAbsMonth(currentCalendarTime.month, currentCalendarTime.year) 100 | C_Calendar.OpenCalendar() 101 | 102 | Data:ScanCharacter() 103 | self:Render() 104 | end 105 | 106 | function Core:OnDisable() 107 | self:UnregisterAllEvents() 108 | self:UnregisterAllBuckets() 109 | end 110 | -------------------------------------------------------------------------------- /Libs/AceAddon-3.0/AceAddon-3.0.xml: -------------------------------------------------------------------------------- 1 | 3 |