2017-03-10 23:31:47 +01:00

31 lines
984 B
Lua

--- This module contains the MESSAGE class.
--
-- 1) @{Radio#RADIO} class, extends @{Base#BASE}
-- =================================================
-- Radio system to manage radio communications
-- Radio transmissions consist of sound files that are broadcasted on a specific channel and modulation
-- If sent by a UNIT or a GROUP, Radio communications can be subtitled for a specific amount of time
--
-- 1.1) RADIO construction methods
-- -------------------------------
-- RADIO is created with @{Radio#RADIO.New}. This doesn't broadcast a transmission, but only create a RADIO object
-- To actually broadcast your transmission, you need to use @{Radio#RADIO.Broadcast}
--
-- @module Radio
-- @author Grey-Echo
--- The RADIO class
-- @type RADIO
-- @extends Core.Base#BASE
MESSAGE = {
ClassName = "RADIO",
Identifiable = IDENTIFIABLE:New(),
Frequency = 255000,
Power = 100,
Modulation = 0,
Loop = 0,
Subtitle = "",
SubtitleDuration = ""
}