- TimeLine (plugin): now also shows marks symbolizing the player death.
- Added raid history panel. Open it through bookmark or /details history. - Added support for skins for Player Detail Window. - Added report history on report button. - Added key bindings settings for report what is shown on window #1 or #2.
This commit is contained in:
+50
-1
@@ -1,3 +1,15 @@
|
||||
|
||||
=======================================
|
||||
Background Tasks
|
||||
=======================================
|
||||
|
||||
Details:RegisterBackgroundTask (name, func, priority, ...)
|
||||
register a function to be called while the player isn't in: combat, group, raid instances.
|
||||
priority determines the interval time and support "LOW", "MEDIUM", "HIGH" values.
|
||||
|
||||
Details:UnregisterBackgroundTask (name)
|
||||
unregister a background task.
|
||||
|
||||
=======================================
|
||||
Item Level
|
||||
=======================================
|
||||
@@ -19,6 +31,43 @@ Details.ilevel:GetInOrder()
|
||||
return a new numeric table with sorted in decreasing order:
|
||||
{{name-realm, item level, time()}, {name-realm, item level, time()}}
|
||||
|
||||
=======================================
|
||||
Raid History
|
||||
=======================================
|
||||
|
||||
=======================================
|
||||
_detalhes.storage:OpenRaidStorage()
|
||||
get the table containing all stored data.
|
||||
|
||||
_detalhes.storage:ListDiffs()
|
||||
return a indexed table with dificulty numbers.
|
||||
|
||||
_detalhes.storage:ListEncounters (diff)
|
||||
return a indexed table with all encounters stored for the dificulty.
|
||||
|
||||
_detalhes.storage:GetEncounterData (diff, encounterId, guildname)
|
||||
return a indexed table with encounter tables playd by the guild.
|
||||
|
||||
_detalhes.storage:GetPlayerData (diff, encounterId, playername)
|
||||
return a indexed table with player tables for the player.
|
||||
|
||||
_detalhes.storage:GetBestFromPlayer (diff, encounterId, role, playername)
|
||||
return the best result from the player.
|
||||
|
||||
Structure:
|
||||
DB = hash{
|
||||
[difficulty index] = hash{
|
||||
[encounter id] = indexed{
|
||||
{
|
||||
--encounter table
|
||||
damage = hash{
|
||||
[playername] = indexed{} --player table
|
||||
}
|
||||
...
|
||||
}--[1]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
encounter table = hash {["time"] = time(), ["guild"] = guild name, ["date"] = formated date, ["healing"] = {[playername] = playertable}, ["elapsed"] = combat time, ["damage"] = {[playername] = playertable}}
|
||||
player table = indexed {total done, item level, class index}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user