DungeonTime API

DungeonTime:ChatCommand(input)

Calls the function Run when used the chat command /dt

Parameters

input
of the /dt command (not used)


DungeonTime:FormatTime(timer, time)

Convert a given time to mmss.

Parameters

timer
time
in seconds

Return value

minutes:seconds

Usage

convert the time given to mmss format


DungeonTime:LFGWarning()

Plays a sound file defined as local variable sound_file.


DungeonTime:OnDisable()

Unregisters the event LFG_PROPOSAL_SHOW when the addon is disabled.


DungeonTime:OnEnable()

Registers the event LFG_PROPOSAL_SHOW when the addon enables.


DungeonTime:OnInitialize()

Registers the chat command /dt when the addon initializes.


DungeonTime:Run()

Check the LFG queue status and print the info.