Disabled Bindings.xml to avoid taints in 10.0

This commit is contained in:
Tercio Jose
2022-10-20 09:47:48 -03:00
parent 33e6a45f8d
commit a9e858d864
76 changed files with 1200 additions and 1411 deletions
@@ -15,7 +15,7 @@ end
local f = CreateFrame("frame", nil, UIParent)
f:Hide()
f:RegisterEvent ("ADDON_LOADED")
f:RegisterEvent("ADDON_LOADED")
f:SetScript("OnEvent", function(self, event, addonName)
@@ -307,9 +307,9 @@ local function CreatePluginFrames (data)
wipe (current_table_bigwigs)
end
end)
event_frame:RegisterEvent ("ENCOUNTER_START")
event_frame:RegisterEvent ("ENCOUNTER_END")
event_frame:RegisterEvent ("PLAYER_REGEN_ENABLED")
event_frame:RegisterEvent("ENCOUNTER_START")
event_frame:RegisterEvent("ENCOUNTER_END")
event_frame:RegisterEvent("PLAYER_REGEN_ENABLED")
--DBM_TimerStart Timer183828cdcount 2 Death Brand CD (2) 42.5 Interface\Icons\warlock_summon_doomguard cdcount 183828 1 1438
--DBM_TimerStart Timer183828cdcount 3 Death Brand CD (3) 42.5 Interface\Icons\warlock_summon_doomguard cdcount 183828 1 1438
+14 -14
View File
@@ -1027,7 +1027,7 @@ _detalhes.EncounterDetailsTempWindow = function(EncounterDetails)
local DetailsFrameWork = _detalhes.gump
BossFrame:SetFrameStrata("HIGH")
BossFrame:SetToplevel (true)
BossFrame:SetToplevel(true)
BossFrame:SetBackdrop({edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\AddOns\Details\images\background]], tileSize = 64, tile = true})
BossFrame:SetBackdropColor(.5, .5, .5, .5)
@@ -2707,7 +2707,7 @@ end
container_damagetaken_window:SetWidth(BOX_WIDTH)
container_damagetaken_window:SetHeight(BOX_HEIGHT)
container_damagetaken_window:SetScrollChild (container_damagetaken_frame)
container_damagetaken_window:SetScrollChild(container_damagetaken_frame)
container_damagetaken_window:SetPoint("TOPLEFT", frame, "TOPLEFT", 10, -92)
DetailsFrameWork:NewScrollBar (container_damagetaken_window, container_damagetaken_frame, 4, -16)
@@ -2760,7 +2760,7 @@ end
container_habilidades_window:SetWidth(BOX_WIDTH)
container_habilidades_window:SetHeight(BOX_HEIGHT)
container_habilidades_window:SetScrollChild (container_habilidades_frame)
container_habilidades_window:SetScrollChild(container_habilidades_frame)
container_habilidades_window:SetPoint("TOPLEFT", container_damagetaken_window, "bottomleft", 0, CONST_BOX_VERTICAL_SPACING) --LOCATION
DetailsFrameWork:NewScrollBar (container_habilidades_window, container_habilidades_frame, 4, -16)
@@ -2803,7 +2803,7 @@ end
container_adds_window:SetWidth(BOX_WIDTH)
container_adds_window:SetHeight(BOX_HEIGHT_UPPER)
container_adds_window:SetScrollChild (container_adds_frame)
container_adds_window:SetScrollChild(container_adds_frame)
container_adds_window:SetPoint("TOPLEFT", container_damagetaken_window, "topright", CONST_BOX_HORIZONTAL_SPACING, 0)
DetailsFrameWork:NewLabel(container_adds_window, container_adds_window, nil, "titulo", "Enemy Damage Taken", "GameFontHighlight")
@@ -2848,7 +2848,7 @@ end
container_interrupt_window:SetWidth(BOX_WIDTH)
container_interrupt_window:SetHeight(BOX_HEIGHT_UPPER)
container_interrupt_window:SetScrollChild (container_interrupt_frame)
container_interrupt_window:SetScrollChild(container_interrupt_frame)
container_interrupt_window:SetPoint("TOPLEFT", container_adds_window, "TOPRIGHT", CONST_BOX_HORIZONTAL_SPACING, 0)
DetailsFrameWork:NewLabel(container_interrupt_window, container_interrupt_window, nil, "titulo", Loc ["STRING_INTERRUPTS"], "GameFontHighlight")
@@ -2894,7 +2894,7 @@ end
container_dispell_window:SetWidth(BOX_WIDTH)
container_dispell_window:SetHeight(BOX_HEIGHT_UPPER)
container_dispell_window:SetScrollChild (container_dispell_frame)
container_dispell_window:SetScrollChild(container_dispell_frame)
container_dispell_window:SetPoint("TOPLEFT", container_adds_window, "BOTTOMLEFT", 0, CONST_BOX_VERTICAL_SPACING)
DetailsFrameWork:NewLabel(container_dispell_window, container_dispell_window, nil, "titulo", Loc ["STRING_DISPELLS"], "GameFontHighlight")
@@ -2944,7 +2944,7 @@ end
container_dead_window:SetWidth(BOX_WIDTH)
container_dead_window:SetHeight(BOX_HEIGHT_UPPER)
container_dead_window:SetScrollChild (container_dead_frame)
container_dead_window:SetScrollChild(container_dead_frame)
container_dead_window:SetPoint("TOPLEFT", container_dispell_window, "TOPRIGHT", CONST_BOX_HORIZONTAL_SPACING, 0)
DetailsFrameWork:NewLabel(container_dead_window, container_dead_window, nil, "titulo", Loc ["STRING_DEATH_LOG"], "GameFontHighlight")
@@ -2965,13 +2965,13 @@ end
--emotes frame
local emote_frame = CreateFrame("frame", "DetailsEncountersEmoteFrame", UIParent, "BackdropTemplate")
emote_frame:RegisterEvent ("CHAT_MSG_RAID_BOSS_EMOTE")
emote_frame:RegisterEvent ("CHAT_MSG_RAID_BOSS_WHISPER")
emote_frame:RegisterEvent ("CHAT_MSG_MONSTER_EMOTE")
emote_frame:RegisterEvent ("CHAT_MSG_MONSTER_SAY")
emote_frame:RegisterEvent ("CHAT_MSG_MONSTER_WHISPER")
emote_frame:RegisterEvent ("CHAT_MSG_MONSTER_PARTY")
emote_frame:RegisterEvent ("CHAT_MSG_MONSTER_YELL")
emote_frame:RegisterEvent("CHAT_MSG_RAID_BOSS_EMOTE")
emote_frame:RegisterEvent("CHAT_MSG_RAID_BOSS_WHISPER")
emote_frame:RegisterEvent("CHAT_MSG_MONSTER_EMOTE")
emote_frame:RegisterEvent("CHAT_MSG_MONSTER_SAY")
emote_frame:RegisterEvent("CHAT_MSG_MONSTER_WHISPER")
emote_frame:RegisterEvent("CHAT_MSG_MONSTER_PARTY")
emote_frame:RegisterEvent("CHAT_MSG_MONSTER_YELL")
local emote_table = {
["CHAT_MSG_RAID_BOSS_EMOTE"] = 1,
+16 -16
View File
@@ -1291,21 +1291,21 @@ eventFrame.track_spell_cast = function()
end
function eventFrame:RegisterMyEvents()
eventFrame:RegisterEvent ("UNIT_SPELLCAST_START")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_SENT")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_SUCCEEDED")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_INTERRUPTED")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_FAILED_QUIET")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_FAILED")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_DELAYED")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_CHANNEL_START")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_CHANNEL_STOP")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_CHANNEL_UPDATE")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_STOP")
eventFrame:RegisterEvent("UNIT_SPELLCAST_START")
eventFrame:RegisterEvent("UNIT_SPELLCAST_SENT")
eventFrame:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
eventFrame:RegisterEvent("UNIT_SPELLCAST_INTERRUPTED")
eventFrame:RegisterEvent("UNIT_SPELLCAST_FAILED_QUIET")
eventFrame:RegisterEvent("UNIT_SPELLCAST_FAILED")
eventFrame:RegisterEvent("UNIT_SPELLCAST_DELAYED")
eventFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_START")
eventFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_STOP")
eventFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE")
eventFrame:RegisterEvent("UNIT_SPELLCAST_STOP")
if (not DetailsFramework.IsTBCWow() and not DetailsFramework.IsWotLKWow()) then
eventFrame:RegisterEvent ("UNIT_SPELLCAST_INTERRUPTIBLE")
eventFrame:RegisterEvent ("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
eventFrame:RegisterEvent("UNIT_SPELLCAST_INTERRUPTIBLE")
eventFrame:RegisterEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
end
end
@@ -1340,8 +1340,8 @@ local AMP_Tick = C_Timer.NewTicker(1, function()
ACTIONS = 0
end)
local APM_FRAME = CreateFrame("frame", "DetailsAPMFrame", UIParent, "BackdropTemplate")
APM_FRAME:RegisterEvent ("PLAYER_STARTED_MOVING")
APM_FRAME:RegisterEvent ("PLAYER_STOPPED_MOVING")
APM_FRAME:RegisterEvent("PLAYER_STARTED_MOVING")
APM_FRAME:RegisterEvent("PLAYER_STOPPED_MOVING")
APM_FRAME:SetScript("OnEvent", function()
ACTIONS = ACTIONS + 1
end)
@@ -2500,7 +2500,7 @@ function StreamOverlay:OnEvent (_, event, ...)
end
--wipe (StreamOverlay.db)
SOF:RegisterEvent ("PLAYER_LOGOUT")
SOF:RegisterEvent("PLAYER_LOGOUT")
--profile name
SOF.PlayerNameProfile = UnitName("player") .. " - " .. GetRealmName()
@@ -143,9 +143,9 @@ local function CreatePluginFrames (data)
ThreatMeterFrame:UnregisterEvent ("PLAYER_REGEN_ENABLED")
elseif (event == "PLUGIN_ENABLED") then
ThreatMeterFrame:RegisterEvent ("PLAYER_TARGET_CHANGED")
ThreatMeterFrame:RegisterEvent ("PLAYER_REGEN_DISABLED")
ThreatMeterFrame:RegisterEvent ("PLAYER_REGEN_ENABLED")
ThreatMeterFrame:RegisterEvent("PLAYER_TARGET_CHANGED")
ThreatMeterFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
ThreatMeterFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
end
end
@@ -863,17 +863,17 @@ function ThreatMeter:OnEvent (_, event, ...)
end
--Register needed events
_G._detalhes:RegisterEvent (ThreatMeter, "COMBAT_PLAYER_ENTER")
_G._detalhes:RegisterEvent (ThreatMeter, "COMBAT_PLAYER_LEAVE")
_G._detalhes:RegisterEvent (ThreatMeter, "DETAILS_INSTANCE_ENDRESIZE")
_G._detalhes:RegisterEvent (ThreatMeter, "DETAILS_INSTANCE_SIZECHANGED")
_G._detalhes:RegisterEvent (ThreatMeter, "DETAILS_INSTANCE_STARTSTRETCH")
_G._detalhes:RegisterEvent (ThreatMeter, "DETAILS_INSTANCE_ENDSTRETCH")
_G._detalhes:RegisterEvent (ThreatMeter, "DETAILS_OPTIONS_MODIFIED")
_G._detalhes:RegisterEvent(ThreatMeter, "COMBAT_PLAYER_ENTER")
_G._detalhes:RegisterEvent(ThreatMeter, "COMBAT_PLAYER_LEAVE")
_G._detalhes:RegisterEvent(ThreatMeter, "DETAILS_INSTANCE_ENDRESIZE")
_G._detalhes:RegisterEvent(ThreatMeter, "DETAILS_INSTANCE_SIZECHANGED")
_G._detalhes:RegisterEvent(ThreatMeter, "DETAILS_INSTANCE_STARTSTRETCH")
_G._detalhes:RegisterEvent(ThreatMeter, "DETAILS_INSTANCE_ENDSTRETCH")
_G._detalhes:RegisterEvent(ThreatMeter, "DETAILS_OPTIONS_MODIFIED")
ThreatMeterFrame:RegisterEvent ("PLAYER_TARGET_CHANGED")
ThreatMeterFrame:RegisterEvent ("PLAYER_REGEN_DISABLED")
ThreatMeterFrame:RegisterEvent ("PLAYER_REGEN_ENABLED")
ThreatMeterFrame:RegisterEvent("PLAYER_TARGET_CHANGED")
ThreatMeterFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
ThreatMeterFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
--Saved data
ThreatMeter.saveddata = saveddata or {}
+11 -11
View File
@@ -111,9 +111,9 @@ local function CreatePluginFrames (data)
Vanguard.CurrentInstance = Vanguard:GetInstance(Vanguard.instance_id)
VanguardFrame:RegisterEvent ("ROLE_CHANGED_INFORM")
VanguardFrame:RegisterEvent ("GROUP_ROSTER_UPDATE")
VanguardFrame:RegisterEvent ("PLAYER_TARGET_CHANGED")
VanguardFrame:RegisterEvent("ROLE_CHANGED_INFORM")
VanguardFrame:RegisterEvent("GROUP_ROSTER_UPDATE")
VanguardFrame:RegisterEvent("PLAYER_TARGET_CHANGED")
Vanguard:ResetBars()
@@ -1138,15 +1138,15 @@ function Vanguard:OnEvent (_, event, arg1, token, time, who_serial, who_name, wh
CreatePluginFrames()
--Register needed events
_G._detalhes:RegisterEvent (Vanguard, "COMBAT_PLAYER_ENTER")
_G._detalhes:RegisterEvent (Vanguard, "COMBAT_PLAYER_LEAVE")
_G._detalhes:RegisterEvent (Vanguard, "DETAILS_INSTANCE_ENDRESIZE")
_G._detalhes:RegisterEvent (Vanguard, "DETAILS_INSTANCE_SIZECHANGED")
_G._detalhes:RegisterEvent (Vanguard, "GROUP_ONLEAVE")
_G._detalhes:RegisterEvent (Vanguard, "DETAILS_OPTIONS_MODIFIED")
_G._detalhes:RegisterEvent(Vanguard, "COMBAT_PLAYER_ENTER")
_G._detalhes:RegisterEvent(Vanguard, "COMBAT_PLAYER_LEAVE")
_G._detalhes:RegisterEvent(Vanguard, "DETAILS_INSTANCE_ENDRESIZE")
_G._detalhes:RegisterEvent(Vanguard, "DETAILS_INSTANCE_SIZECHANGED")
_G._detalhes:RegisterEvent(Vanguard, "GROUP_ONLEAVE")
_G._detalhes:RegisterEvent(Vanguard, "DETAILS_OPTIONS_MODIFIED")
VanguardFrame:RegisterEvent ("ZONE_CHANGED_NEW_AREA")
VanguardFrame:RegisterEvent ("PLAYER_ENTERING_WORLD")
VanguardFrame:RegisterEvent("ZONE_CHANGED_NEW_AREA")
VanguardFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
end
end