mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Fixed sender type for druid_instance.on_message()
This commit is contained in:
parent
e2108a5f1e
commit
3bf50660b3
@ -1653,7 +1653,7 @@ function druid_instance.on_input(self, action_id, action) end
|
|||||||
---@param self druid_instance
|
---@param self druid_instance
|
||||||
---@param message_id hash Message_id from on_message
|
---@param message_id hash Message_id from on_message
|
||||||
---@param message table Message from on_message
|
---@param message table Message from on_message
|
||||||
---@param sender hash Sender from on_message
|
---@param sender url Sender from on_message
|
||||||
function druid_instance.on_message(self, message_id, message, sender) end
|
function druid_instance.on_message(self, message_id, message, sender) end
|
||||||
|
|
||||||
--- Remove created component from Druid instance.
|
--- Remove created component from Druid instance.
|
||||||
|
@ -397,7 +397,7 @@ end
|
|||||||
-- @tparam DruidInstance self
|
-- @tparam DruidInstance self
|
||||||
-- @tparam hash message_id Message_id from on_message
|
-- @tparam hash message_id Message_id from on_message
|
||||||
-- @tparam table message Message from on_message
|
-- @tparam table message Message from on_message
|
||||||
-- @tparam hash sender Sender from on_message
|
-- @tparam url sender Sender from on_message
|
||||||
function DruidInstance.on_message(self, message_id, message, sender)
|
function DruidInstance.on_message(self, message_id, message, sender)
|
||||||
local specific_ui_message = base_component.SPECIFIC_UI_MESSAGES[message_id]
|
local specific_ui_message = base_component.SPECIFIC_UI_MESSAGES[message_id]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user