- Added Raid Tools bracket on Options Panel.
- Added Interrupt, cooldown usage and death announcers for raid tools. - New API: _detalhes:SendMsgToChannel (msg, channel, towho) seng a message to a chat channel. - New API: _detalhes:CreateEventListener() creates a table which accept Details Event Registration with RegisterEvent and receive events through OnDetailsEvent(). - New API: _detalhes:GetCooldownList (class) return a table with spellids of defensive cooldowns of the requested class. - New Hook: DETAILS_HOOK_INTERRUPT call when a interrupt happens during a combat. - Framework: Added CreateImage (parent, texture, w, h, layer, coords, member, name) - Framework: Added CreateSwitch (parent, on_switch, default_value, w, h, ltext, rtext, member, name, color_inverted, switch_func, return_func)
This commit is contained in:
@@ -419,12 +419,18 @@ function _G._detalhes:Start()
|
||||
|
||||
--BNSendFriendInvite ("tercio#1488")
|
||||
|
||||
--> get in the realm chat channel
|
||||
if (not _detalhes.schedule_chat_enter and not _detalhes.schedule_chat_leave) then
|
||||
_detalhes.schedule_chat_enter = _detalhes:ScheduleTimer ("EnterChatChannel", 30)
|
||||
end
|
||||
|
||||
--> open profiler
|
||||
_detalhes:OpenProfiler()
|
||||
|
||||
--> start announcers
|
||||
_detalhes:StartAnnouncers()
|
||||
|
||||
--> open welcome
|
||||
if (self.is_first_run) then
|
||||
_detalhes:OpenWelcomeWindow()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user