Mercurial > wow > worldplan
comparison WorldPlan.lua @ 110:f6ef9a9f5476
nop out `WorldMap_SetupWorldQuestButton` since we aren't using them visually
author | Nenue |
---|---|
date | Tue, 25 Jul 2017 12:38:27 -0400 |
parents | caa482329919 |
children | e8b6c5433128 |
comparison
equal
deleted
inserted
replaced
109:caa482329919 | 110:f6ef9a9f5476 |
---|---|
10 local ITEM_QUALITY_COLORS = ITEM_QUALITY_COLORS | 10 local ITEM_QUALITY_COLORS = ITEM_QUALITY_COLORS |
11 local BROKEN_ISLES_ID = 1007 | 11 local BROKEN_ISLES_ID = 1007 |
12 local GetCurrentMapAreaID = GetCurrentMapAreaID | 12 local GetCurrentMapAreaID = GetCurrentMapAreaID |
13 local GetTime, IsLoggedIn = GetTime, IsLoggedIn | 13 local GetTime, IsLoggedIn = GetTime, IsLoggedIn |
14 local DEBUG_HISTORY = {} | 14 local DEBUG_HISTORY = {} |
15 local ofunc = {} | |
15 | 16 |
16 -- Define tables here so the pointers match up | 17 -- Define tables here so the pointers match up |
17 WorldPlanCore = { defaults = {}, modules = {}, TaskQueue = {}, } | 18 WorldPlanCore = { defaults = {}, modules = {}, TaskQueue = {}, } |
18 WorldPlanPOIMixin = {} | 19 WorldPlanPOIMixin = {} |
19 WorldPlanSummaryMixin = {} | 20 WorldPlanSummaryMixin = {} |
397 self:RegisterEvent("SKILL_LINES_CHANGED") | 398 self:RegisterEvent("SKILL_LINES_CHANGED") |
398 self:RegisterEvent("ARTIFACT_XP_UPDATE") | 399 self:RegisterEvent("ARTIFACT_XP_UPDATE") |
399 self:RegisterEvent("ADDON_LOADED") | 400 self:RegisterEvent("ADDON_LOADED") |
400 self:RegisterEvent("PLAYER_LOGIN") | 401 self:RegisterEvent("PLAYER_LOGIN") |
401 --self:SetParent(WorldMapFrame) | 402 --self:SetParent(WorldMapFrame) |
403 | |
404 | |
405 ofunc[WorldMap_SetupWorldQuestButton] = WorldMap_SetupWorldQuestButton | |
406 WorldMap_SetupWorldQuestButton = nop | |
402 end | 407 end |
403 | 408 |
404 function WorldPlanCore:OnShow() | 409 function WorldPlanCore:OnShow() |
405 --print(self:GetName()..':OnShow()') | 410 --print(self:GetName()..':OnShow()') |
406 --hooksecurefunc(self, 'SetScript', function(...) self:print('|cFFFFFF00'..self:GetName()..':SetScript()|r', ...) end) | 411 --hooksecurefunc(self, 'SetScript', function(...) self:print('|cFFFFFF00'..self:GetName()..':SetScript()|r', ...) end) |