- Added Acitivity Time for Damage + Healing, tooltip show the activity separately.
- Major changes on Encounter Details Plugin making more easy to use. - Removed Spell Details Plugin. - Added new plugin: Dps Tuning. - New API: actor:GetActorSpells() return table with spellid, spelltable. - New API: actor:GetSpell (spellid) return the table for the spellid. - New API: combat:GetCombatNumber() return a unique ID number identifying the combat. - New API: framework:CreateButton (parent, func, w, h, text, param1, param2, texture, member, name, short_method) - New API: framework:CreateDropDown (parent, func, default, w, h, member, name) - New API: framework:CreateLabel (parent, text, size, color, font, member, name, layer) - New API: framework:CreateBar (parent, texture, w, h, value, member, name) - New API: framework:CreateChartPanel (parent, w, h, name)
This commit is contained in:
+7
-1
@@ -147,7 +147,13 @@ do
|
||||
|
||||
--> return the wallpaper for the raid instance
|
||||
function _detalhes:GetRaidBackground (mapid)
|
||||
return _detalhes.EncounterInformation [mapid] and _detalhes.EncounterInformation [mapid].background
|
||||
local bosstables = _detalhes.EncounterInformation [mapid]
|
||||
if (bosstables) then
|
||||
local bg = bosstables.backgroundFile
|
||||
if (bg) then
|
||||
return bg.file, unpack (bg.coords)
|
||||
end
|
||||
end
|
||||
end
|
||||
--> return the icon for the raid instance
|
||||
function _detalhes:GetRaidIcon (mapid)
|
||||
|
||||
@@ -118,5 +118,10 @@ do
|
||||
function _detalhes:Class (actor)
|
||||
return self.classe or actor.classe
|
||||
end
|
||||
|
||||
function _detalhes:GetActorSpells()
|
||||
return self.spell_tables._ActorTable
|
||||
end
|
||||
function _detalhes:GetSpell (spellid)
|
||||
return self.spell_tables._ActorTable [spellid]
|
||||
end
|
||||
end
|
||||
|
||||
@@ -804,6 +804,7 @@ _detalhes.default_profile = default_profile
|
||||
local default_player_data = {
|
||||
--> current combat number
|
||||
combat_id = 0,
|
||||
combat_counter = 0,
|
||||
--> nicktag cache
|
||||
nick_tag_cache = {},
|
||||
--> plugin data
|
||||
|
||||
+11
-1
@@ -70,6 +70,10 @@
|
||||
this_capture [INDEX_ENABLED] = this_capture [INDEX_ENABLED]
|
||||
end
|
||||
|
||||
if (_G.DetailsOptionsWindow and _G.DetailsOptionsWindow:IsShown()) then
|
||||
_G.DetailsOptionsWindow16UserTimeCapturesFillPanel.MyObject:Refresh()
|
||||
end
|
||||
|
||||
return true
|
||||
|
||||
end
|
||||
@@ -131,11 +135,17 @@
|
||||
--> unregister
|
||||
function _detalhes:TimeDataUnregister (name)
|
||||
if (type (name) == "number") then
|
||||
return tremove (_detalhes.savedTimeCaptures, name)
|
||||
tremove (_detalhes.savedTimeCaptures, name)
|
||||
if (_G.DetailsOptionsWindow and _G.DetailsOptionsWindow:IsShown()) then
|
||||
_G.DetailsOptionsWindow16UserTimeCapturesFillPanel.MyObject:Refresh()
|
||||
end
|
||||
else
|
||||
for index, t in ipairs (_detalhes.savedTimeCaptures) do
|
||||
if (t [INDEX_NAME] == name) then
|
||||
tremove (_detalhes.savedTimeCaptures, index)
|
||||
if (_G.DetailsOptionsWindow and _G.DetailsOptionsWindow:IsShown()) then
|
||||
_G.DetailsOptionsWindow16UserTimeCapturesFillPanel.MyObject:Refresh()
|
||||
end
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user