- ToC Update.

- Added support for custom parser functions.
- Added support for Hellfire Citadel raid.
- Tyrant Velhari now has a custom parser function to calculate the healing done.
- Removed Blackrock Foundry raid info.
- Removed Highmaul raid info.
This commit is contained in:
Tercio
2015-06-23 14:56:17 -03:00
parent 7a3d822a8e
commit 89213e7808
32 changed files with 621 additions and 491 deletions
+18 -6
View File
@@ -35,22 +35,22 @@ return a new numeric table with sorted in decreasing order:
Raid History
=======================================
_detalhes.storage:OpenRaidStorage()
Details.storage:OpenRaidStorage()
get the table containing all stored data.
_detalhes.storage:ListDiffs()
Details.storage:ListDiffs()
return a indexed table with dificulty numbers.
_detalhes.storage:ListEncounters (diff)
Details.storage:ListEncounters (diff)
return a indexed table with all encounters stored for the dificulty.
_detalhes.storage:GetEncounterData (diff, encounterId, guildname)
Details.storage:GetEncounterData (diff, encounterId, guildname)
return a indexed table with encounter tables playd by the guild.
_detalhes.storage:GetPlayerData (diff, encounterId, playername)
Details.storage:GetPlayerData (diff, encounterId, playername)
return a indexed table with player tables for the player.
_detalhes.storage:GetBestFromPlayer (diff, encounterId, role, playername)
Details.storage:GetBestFromPlayer (diff, encounterId, role, playername)
return the best result from the player.
Structure:
@@ -71,3 +71,15 @@ DB = hash{
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}
=======================================
Parser
=======================================
/dump Details.parser.original_functions
will tell all internal tokens used by the parser.
Details.parser:SetParserFunction (token, func)
replaces a original parser function with a customized one.
If no function passed, it uses the default function.