WoW Open Raid Library addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon Open Raid Library

Open Raid Library

Game Version: 9.2.5
Total Downloads: 11,161
Updated: Feb 8, 2023
Created: Dec 11, 2021
download Open Raid LibraryDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
v10.0.5.96 release 83.43 KB Feb 8, 2023 9.2.5 497 download Open Raid Library v10.0.5.96 releaseDownload
v10.0.5.95 release 83.28 KB Jan 30, 2023 9.2.5 445 download Open Raid Library v10.0.5.95 releaseDownload
v10.0.5.94 release 82.70 KB Jan 30, 2023 9.2.5 55 download Open Raid Library v10.0.5.94 releaseDownload
v10.0.2.87 release 82.16 KB Dec 15, 2022 9.2.5 607 download Open Raid Library v10.0.2.87 releaseDownload
v10.0.2.86 release 82.08 KB Dec 12, 2022 9.2.5 417 download Open Raid Library v10.0.2.86 releaseDownload
v10.0.2.83 release 80.50 KB Dec 5, 2022 9.2.5 433 download Open Raid Library v10.0.2.83 releaseDownload
v10.0.2.80 release 80.24 KB Nov 25, 2022 9.2.5 507 download Open Raid Library v10.0.2.80 releaseDownload
v10.0.2.77 release 79.29 KB Nov 23, 2022 9.2.5 304 download Open Raid Library v10.0.2.77 releaseDownload
OpenRaidLibraryRetail.10.0.0.71 release 76.58 KB Nov 11, 2022 9.2.5 497 download Open Raid Library OpenRaidLibraryRetail.10.0.0.71 releaseDownload
OpenRaidLibraryRetail.10.0.0.68 release 75.19 KB Oct 28, 2022 9.2.5 576 download Open Raid Library OpenRaidLibraryRetail.10.0.0.68 releaseDownload
OpenRaidLibraryRetail.10.0.0.66 release 74.87 KB Oct 26, 2022 9.2.5 412 download Open Raid Library OpenRaidLibraryRetail.10.0.0.66 releaseDownload
OpenRaidLibraryRetail.9.2.7.62 release 74.03 KB Oct 18, 2022 9.2.5 761 download Open Raid Library OpenRaidLibraryRetail.9.2.7.62 releaseDownload
OpenRaidLibraryRetail.9.2.7.60 release 53.19 KB Oct 15, 2022 9.2.5 547 download Open Raid Library OpenRaidLibraryRetail.9.2.7.60 releaseDownload
OpenRaidLibraryRetail.9.2.7.57 release 53.23 KB Oct 9, 2022 9.2.5 756 download Open Raid Library OpenRaidLibraryRetail.9.2.7.57 releaseDownload
OpenRaidLibraryRetail.9.2.7.56 release 52.65 KB Sep 29, 2022 9.2.5 1,047 download Open Raid Library OpenRaidLibraryRetail.9.2.7.56 releaseDownload
OpenRaidLibraryRetail.9.2.5.043 release 50.44 KB Jun 8, 2022 9.2.5 1,043 download Open Raid Library OpenRaidLibraryRetail.9.2.5.043 releaseDownload
OpenRaidLibraryRetail.9.2.0.039 release 50.13 KB May 19, 2022 9.2.0 413 download Open Raid Library OpenRaidLibraryRetail.9.2.0.039 releaseDownload
OpenRaidLibraryRetail.9.2.0.037 release 49.93 KB May 16, 2022 9.2.0 231 download Open Raid Library OpenRaidLibraryRetail.9.2.0.037 releaseDownload
OpenRaidLibraryRetail.9.2.0.030 release 45.18 KB Apr 23, 2022 9.2.0 506 download Open Raid Library OpenRaidLibraryRetail.9.2.0.030 releaseDownload
OpenRaidLibraryRetail.9.2.0.028 release 44.46 KB Apr 22, 2022 9.2.0 100 download Open Raid Library OpenRaidLibraryRetail.9.2.0.028 releaseDownload
OpenRaidLibraryRetail.9.2.0.027 release 36.97 KB Apr 14, 2022 9.2.0 103 download Open Raid Library OpenRaidLibraryRetail.9.2.0.027 releaseDownload
OpenRaidLibraryRetail.9.2.0.026 release 36.90 KB Apr 14, 2022 9.2.0 107 download Open Raid Library OpenRaidLibraryRetail.9.2.0.026 releaseDownload
OpenRaidLibraryRetail.v9.2.0.025 release 36.23 KB Apr 13, 2022 9.2.0 90 download Open Raid Library OpenRaidLibraryRetail.v9.2.0.025 releaseDownload
OpenRaidLibraryRetail.v9.2.0.024 release 36.31 KB Mar 30, 2022 9.2.0 125 download Open Raid Library OpenRaidLibraryRetail.v9.2.0.024 releaseDownload
OpenRaidLibraryRetail.v9.1.5.022 release 35.61 KB Feb 17, 2022 9.1.5 177 download Open Raid Library OpenRaidLibraryRetail.v9.1.5.022 releaseDownload
14a98c6-alpha release 33.71 KB Dec 11, 2021 9.1.5 83 download Open Raid Library 14a98c6-alpha releaseDownload
OpenRaidLibraryRetail.9.2.5.043-17-gf53ee7a-alpha alpha 52.50 KB Sep 27, 2022 9.2.5 46 download Open Raid Library OpenRaidLibraryRetail.9.2.5.043-17-gf53ee7a-alpha alphaDownload
OpenRaidLibraryRetail.9.2.0.027-1-g81b4e22-alpha alpha 37.49 KB Apr 22, 2022 9.2.0 61 download Open Raid Library OpenRaidLibraryRetail.9.2.0.027-1-g81b4e22-alpha alphaDownload
OpenRaidLibraryRetail.v9.1.5.022-2-g2fd5ed6-alpha alpha 35.61 KB Mar 30, 2022 9.1.5 147 download Open Raid Library OpenRaidLibraryRetail.v9.1.5.022-2-g2fd5ed6-alpha alphaDownload
0d43d24-alpha alpha 33.77 KB Jan 15, 2022 9.1.5 67 download Open Raid Library 0d43d24-alpha alphaDownload

Description

Share this:

What this library do?

Share information using comms, these comms does not use serialization hence they has a very small size in bytes.

Due to this, the library can keep the pace on updating in real time even during combat.

A working example is found inside Details! Damage Meter Interface/AddOns/Details/frames/window_cdtracker.lua

 

Usage cases: when your addon need information about:

  • Gear Durability
  • Item Level
  • Missing Gems
  • Missing Enchants
  • Missing Weapon Enchant
  • Cooldowns update in real time, when a player in the raid use it, when it is ready or when it did reduced its time
  • List of cooldowns of a player in the raid and their status such as: is it ready, is in cooldown, its cooldown time
  • Player Spec
  • Player Renown
  • Player Covenant Id
  • Player Talents
  • Player PvP Talents
  • Player Conduits

  

Open Raid Library uses only compression by LibDeflate, no serialization, which decreases the amount of data required to send.

 API: https://www.curseforge.com/wow/addons/openraid/pages/api

 

API: 

–get the main library object

local openRaidLib = LibStub:GetLibrary(“LibOpenRaid-1.0”)

–request to all players to send all data infomation: cooldowns, gear and player data.

openRaidLib.RequestAllData()

 

COOLDOWNS:
–get all cooldowns from all units
local allUnitsCooldowns = openRaidLib.GetAllUnitsCooldown()
allUnitsCooldowns = {
     [“playerName1”] = {[cooldownSpellId] = cooldownInfo, [cooldownSpellId] = cooldownInfo, …}
     [“playerName2”] = {[cooldownSpellId] = cooldownInfo, [cooldownSpellId] = cooldownInfo, …}
     [“playerName3”] = {[cooldownSpellId] = cooldownInfo, [cooldownSpellId] = cooldownInfo, …}
}

–get all cooldowns from a single unit
local unitCooldows = openRaidLib.GetUnitCooldowns(unitId [,filter])
@unittId: “player”, “target”, “party2”, “raid12”, …
@filter: “defensive-raid”, “defensive-target”, “defensive-personal”, “ofensive”, “utility”
–can pass more than one filter separating by comma, example: “defensive-raid, defensive-target”
unitCooldows = {
     [cooldownSpellId] = cooldownInfo,
     [cooldownSpellId] = cooldownInfo,
     [cooldownSpellId] = cooldownInfo,
}

–get a cooldownInfo of a single spell from any unit
local cooldownInfo = openRaidLib.GetUnitCooldownInfo(unitId, spellId)

–get cooldown timers to use with progress bar or cooldown frames, percent are normalized (0 to 1), timeLeft is seconds, minValue/maxValue/currentValue are in GetTime() time space, amount of charges

–by using a cooldown info
local isReady, normalizedPercent, timeLeft, charges, minValue, maxValue, currentValue = openRaidLib.GetCooldownStatusFromCooldownInfo(cooldownInfo)
–by using unitID and spellID if necessary
local isReady, normalizedPercent, timeLeft, charges, minValue, maxValue, currentValue = openRaidLib.GetCooldownStatusFromUnitSpellID(unitId, spellId)

 

EQUIPMENT:
local allPlayersGear = openRaidLib.GetAllUnitsGear()
allPlayersGear = {
     [“playerName1”] = playerGear,
     [“playerName2”] = playerGear,
     [“playerName3”] = playerGear,
}

local playerGear = openRaidLib.GetUnitGear(unitId)
playerGear = {
     .durability = number
     .ilevel = number
     .noGems = {socketId}
     .noEnchants = {socketId}
     .weaponEnchant = number (oils)
}

 

UNIT INFORMATION
local allUnitsInfo = openRaidLib.GetAllUnitsInfo()
allUnitsInfo = {
     [“unitName1”] = unitInfo,
     [“unitName2”] = unitInfo,
     [“unitName3”] = unitInfo,
}

 

local unitInfo = openRaidLib.GetUnitInfo(unitId)
unitInfo = {
     .specId = number
     .specName = string
     .role = string
     .renown = number
     .covenantId = number
     .talents = {talentId, talentId, talentId, …}
     .pvpTalents = {talentId, talentId, talentId}
     .conduits = {spellId, conduitLevel, spellId, conduitLevel, spellId, conduitLevel, …}
     .class = string class eng name ‘ROGUE’
     .classId = number
     .className = string class localized name
     .name = string name without realm
     .nameFull = string name with realm ‘unitName-ServerName’
}

 

CALLBACKS:

Inform your addon when data has been updated. Below there’s a summary of them, see the Documentation Here for usage examples.

To register a callback simple use:

function MyAddonObject.OnCooldownListUpdated(unitId, unitCooldowns, allUnitsCooldowns)

end

openRaidLib.RegisterCallback(MyAddonObject, “CooldownListUpdate”, “OnCooldownListUpdated”) 

  • CooldownListUpdate“: triggers when the lib received a list of cooldowns from another unit in the group.
  • CooldownUpdate“: triggered when an unit in the group uses a cooldown or the timeleft of a cooldown of an unit got an update.
  • CooldownListWipe“: when the list of cooldowns get a wipe, usually when the player leave the group.
  • GearUpdate“: when received an update from a player with all information about the gear.
  • GearDurabilityUpdate“: when the gear durability of a player in the group changes.
  • GearListWipe“: when the list of gear get a wipe, usually when the player leave the group.
  • UnitInfoUpdate“: a unit in the group has been updated.
  • UnitInfoWipe“: when the unit info got wipped, usually when the player leave the group.
  • TalentUpdate“: when a unit changed a talent.
  • PvPTalentUpdate“: when an unit changed a pvp talent.

Comments

Add a comment