- Added real time compile error while writing a custom script.
- Added protection on compiling a custom script to show in the window, an error text should be printed to chat window. - Added events: COMM_EVENT_RECEIVED and COMM_EVENT_SENT. - When options panel is not in the screen, the script will attempt to fix the position. - While doing a sync on guild statistics, more information about the download is shown.
This commit is contained in:
@@ -56,9 +56,10 @@
|
||||
["BUFF_UPDATE_DEBUFFPOWER"] = {},
|
||||
|
||||
--> network
|
||||
["REALM_CHANNEL_ENTER"] = {},
|
||||
["REALM_CHANNEL_LEAVE"] = {},
|
||||
|
||||
["REALM_CHANNEL_ENTER"] = {}, --deprecated (realm channels are disabled)
|
||||
["REALM_CHANNEL_LEAVE"] = {}, --deprecated
|
||||
["COMM_EVENT_RECEIVED"] = {}, --added on core 129
|
||||
["COMM_EVENT_SENT"] = {}, --added on core 129
|
||||
}
|
||||
|
||||
local function AlreadyRegistred (_tables, _object)
|
||||
@@ -109,6 +110,8 @@ local common_events = {
|
||||
["ZONE_TYPE_CHANGED"] = true,
|
||||
["REALM_CHANNEL_ENTER"] = true,
|
||||
["REALM_CHANNEL_LEAVE"] = true,
|
||||
["COMM_EVENT_RECEIVED"] = true,
|
||||
["COMM_EVENT_SENT"] = true,
|
||||
}
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -228,7 +231,7 @@ local common_events = {
|
||||
|
||||
--> Send Event
|
||||
function _detalhes:SendEvent (event, object, ...)
|
||||
|
||||
|
||||
--> send event to all registred plugins
|
||||
|
||||
if (event == "PLUGIN_DISABLED" or event == "PLUGIN_ENABLED") then
|
||||
|
||||
Reference in New Issue
Block a user