You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.2 KiB

4 years ago
=======================================
Item Level
=======================================
Details.ilevel:IsTrackerEnabled()
return if the item level tracker is enabled.
Details.ilevel:TrackItemLevel (bool)
enable or disable the tracker, item level tracker only work when inside a raid instance and out of combat.
Details.ilevel:GetPool()
return a table containing all tracked players:
{[GUID] = {["name"] = name-realm, ["ilvl"] = item level, ["time"] = time()}}
Details.ilevel:GetIlvl (guid)
return the item level table for the requested guid.
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
=======================================
Details222.storage.OpenRaidStorage()
4 years ago
get the table containing all stored data.
Details222.storage.ListEncounters (diff)
4 years ago
return a indexed table with all encounters stored for the dificulty.
Details222.storage.GetEncounterData (diff, encounterId, guildname)
4 years ago
return a indexed table with encounter tables playd by the guild.
Details222.storage.GetUnitData (diff, encounterId, role, playername)
4 years ago
return a indexed table with player tables for the player.
Details222.storage.GetBestFromPlayer (diff, encounterId, role, playername)
4 years ago
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}
=======================================
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.