- Added slash command '/details api'.
- Major update on our .txt about the API, these files are on the root folder of details! at WoW/Interface/AddOns/Details.
This commit is contained in:
@@ -62,6 +62,10 @@
|
||||
return self [attribute]
|
||||
end
|
||||
|
||||
function combate:GetRoster()
|
||||
return self.raid_roster
|
||||
end
|
||||
|
||||
function combate:InstanceType()
|
||||
return _rawget (self, "instance_type")
|
||||
end
|
||||
@@ -118,6 +122,14 @@
|
||||
return self [container]._ActorTable
|
||||
end
|
||||
|
||||
function combate:GetActor (container, name)
|
||||
local index = self [container] and self [container]._NameIndexTable [name]
|
||||
if (index) then
|
||||
return self [container]._ActorTable [index]
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
--return the combat time in seconds
|
||||
function combate:GetFormatedCombatTime()
|
||||
local time = self:GetCombatTime()
|
||||
|
||||
Reference in New Issue
Block a user