Skip to content

Commit

Permalink
(API) Fixed the new API for GetAddOnMetadata
Browse files Browse the repository at this point in the history
(toc file) Updated to The War Within 11.0.2
  • Loading branch information
Paulo committed Aug 14, 2024
1 parent 2601c89 commit 7b350c4
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions Classic/TitanCritical.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "Titan_CTCM"
local critDmg = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanHitChance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_HTCHM"
local hitChance = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanIntellect-ClassicEra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_INLLM"
local int = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanManaRegen-ClassicEra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_MARGM"
local MnC, MC = 0, 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanMastery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_MSYM"
local MY = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanQuests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_QUESSM"
local quests = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanSpirit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_SPRTM"
local sprt = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanStamina.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_STMNM"
local STAM = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanStrength-ClassicEra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_STGTHM"
local strn = 0
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanXP-Classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Special Thanks to Eliote.

local ADDON_NAME, L = ...;
local ACE = LibStub("AceLocale-3.0"):GetLocale("TitanClassic", true)
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_XPRCTM"
local AXP
Expand Down
1 change: 1 addition & 0 deletions Classic/TitanXP-ClassicEra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Special Thanks to Eliote.

local ADDON_NAME, L = ...;
local ACE = LibStub("AceLocale-3.0"):GetLocale("TitanClassic", true)
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_XPRCTM"
local AXP
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanAchievement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_ACHEVM"
local achiev = 0
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanDeath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_PYDTHM"
local dth = 0
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanHonor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Special Thanks to Eliote.

local ADDON_NAME, L = ...;
local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true)
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_HNRLLM"
local honor = 0
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanHonorableKills.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_HONKLM"
local hkill = 0
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanILVL.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Author: Eliote, Canettieri
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_ILEM"
local playerilvl = 0.0
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanQuests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Special Thanks to Eliote.

local ADDON_NAME, L = ...;
local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true)
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_QUESSM"
local activeQuests = 0 -- Questas ativas
Expand Down
1 change: 1 addition & 0 deletions Misc/TitanXP.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Special Thanks to Eliote.

local ADDON_NAME, L = ...;
local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true)
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_XPRCTM"
local AXP
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanAgility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_AGLTYM"
local aglty = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanArmor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_ARMRM"
local amr = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanBlock.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_BLKM"
local BK = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanCritical.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "Titan_CTCM"
local critDmg = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanDodge.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_DDGM"
local DG = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanHaste.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_HSTM"
local HA = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanIntellect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_INLLM"
local int = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanManaRegen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_MARGM"
local manaReg = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanMastery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_MSYM"
local MY = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanMeleePower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_MLAM"
local MP = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanParry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_PRRM"
local PR = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanRangedPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_RAPM"
local RP = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanSpellPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_SLLM"
local SP = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanStamina.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_STMNM"
local STAM = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanStrength.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_STGTHM"
local strn = 0
Expand Down
1 change: 1 addition & 0 deletions Stats/TitanVersatility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Special Thanks to Eliote.
--]]

local ADDON_NAME, L = ...;
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata
local version = GetAddOnMetadata(ADDON_NAME, "Version")
local ID = "TITAN_VERTM"
local VD, VT = 0, 0
Expand Down
2 changes: 1 addition & 1 deletion TitanAttributesMulti.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Titan Panel [|cff336699Attributes|r] Multi! |cff00aa00@project-version@|r
## Notes: Track your attributes values! Right-click on Titan Panel, go to "Combat" tab and enjoy.
## Notes-ptBR: Rastreie o valor de seus atributos! Clique com o botão direito no Painel Titan, vá na aba "Combate" e aproveite.
Expand Down

0 comments on commit 7b350c4

Please sign in to comment.