diff --git a/Libs/LibOpenRaid/docs.txt b/Libs/LibOpenRaid/docs.txt index 1d8ac887..44c7d583 100644 --- a/Libs/LibOpenRaid/docs.txt +++ b/Libs/LibOpenRaid/docs.txt @@ -102,6 +102,12 @@ Callbacks: =================================================================================================================================== function MyAddonObject.OnReceiveCooldownListUpdate(unitId, unitCooldows, allUnitsCooldowns) + --regular iteration among the group + for i = 1, GetNumGroupMembers() do + local unitId = "raid"..i + local thisUnitCooldowns = openRaidLib.GetUnitCooldowns(unitId, "defensive-raid, defensive-target") + end + --using the 'unitCooldows' table passed for the updated unit for spellId, cooldownInfo in pairs(unitCooldows) do local isReady, timeLeft, charges, normalizedPercent, minValue, maxValue, currentValue = openRaidLib.GetCooldownStatusFromCooldownInfo(cooldownInfo) diff --git a/plugins/Details_RaidCheck/Details_RaidCheck.lua b/plugins/Details_RaidCheck/Details_RaidCheck.lua index 3342afce..499c0265 100644 --- a/plugins/Details_RaidCheck/Details_RaidCheck.lua +++ b/plugins/Details_RaidCheck/Details_RaidCheck.lua @@ -382,8 +382,8 @@ end local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0") --get the information of all players - local playersInfoData = openRaidLib.playerInfoManager.GetAllPlayersInfo() - local playersGearData = openRaidLib.gearManager.GetAllPlayersGear() + local playersInfoData = openRaidLib.GetAllUnitsInfo() + local playersGearData = openRaidLib.GetAllUnitsGear() for i = 1, total_lines do local index = i + offset