Added function to set alert_type_parameters

This commit is contained in:
Matteo Biscosi 2026-01-09 16:47:27 +01:00
parent 9416884036
commit 48bd1b017b

View file

@ -51,6 +51,16 @@ end
-- ##############################################
function Alert:set_alert_type_params(alert_type_params)
if (alert_type_params) and (table.len(alert_type_params) > 0) then
self.alert_type_params = alert_type_params
return true
end
return false
end
-- ##############################################
function Alert:_build_type_info()
local type_info = {
-- Keys necessary for the engine