Added support to Profiles, now you can share the same config between two or more characters

Added support for BattleTag friends over report window.
Added pet threat to Tiny Threat plugin when out of a party or raid group.
Fixed a issue with close button where it disappear without close the window when toolbar is in bottom side.
Also fixed a issue where swapping toolbar positioning was sometimes making close button disappear.
Fixed a problem opening options panel through minimap when there is no window opened.
This commit is contained in:
tercio
2014-04-09 18:44:12 -03:00
parent 96cbeba581
commit 6ac6d7fd71
24 changed files with 1975 additions and 338 deletions
+16 -2
View File
@@ -69,8 +69,14 @@ function SlashCmdList.DETAILS (msg, editbox)
end
else
local lower_instance = _detalhes:GetLowerInstanceNumber()
print (_detalhes:GetInstance (lower_instance))
_detalhes:OpenOptionsWindow (_detalhes:GetInstance (lower_instance))
if (not lower_instance) then
local instance = _detalhes:GetInstance (1)
_detalhes.CriarInstancia (_, _, 1)
_detalhes:OpenOptionsWindow (instance)
else
_detalhes:OpenOptionsWindow (_detalhes:GetInstance (lower_instance))
end
end
elseif (command == Loc ["STRING_SLASH_WORLDBOSS"]) then
@@ -418,6 +424,14 @@ function SlashCmdList.DETAILS (msg, editbox)
end
end
end
elseif (command == "profile") then
local profile = rest:match("^(%S*)%s*(.-)$")
print ("Force apply profile: ", profile)
_detalhes:ApplyProfile (profile, false)
elseif (msg == "users") then
_detalhes.users = {}