Class ZomboidRadio
java.lang.Object
zombie.radio.ZomboidRadio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChannelName
(String name, int frequency, String category) void
addChannelName
(String name, int frequency, String category, boolean overwrite) clone()
computerize
(String str) GetChannelList
(String category) getChannelName
(int frequency) int
boolean
boolean
static ZomboidRadio
int
int
getRandomFrequency
(int rangemin, int rangemax) static boolean
void
Init
(int savedWorldVersion) static boolean
isStaticSound
(String str) boolean
Load()
static void
ObfuscateChannelCheck
(RadioChannel channel) void
PlayerListensChannel
(int channel, boolean listenmode, boolean isTV) void
ReceiveTransmission
(int sourceX, int sourceY, int channel, String msg, String guid, String codes, float r, float g, float b, int signalStrength, boolean isTV) void
RegisterDevice
(WaveSignalDevice device) void
removeChannelName
(int frequency) void
render()
void
Reset()
void
Save()
scrambleString
(String msg, int intensity, boolean ignoreBBcode, String customScramble) void
SendTransmission
(int sourceX, int sourceY, int channel, String msg, String guid, String codes, float r, float g, float b, int signalStrength, boolean isTV) void
SendTransmission
(int sourceX, int sourceY, ChatMessage msg, int signalStrength) void
SendTransmission
(long source, int sourceX, int sourceY, int channel, String msg, String guid, String codes, float r, float g, float b, int signalStrength, boolean isTV) void
setDisableBroadcasting
(boolean b) void
setDisableMediaLineLearning
(boolean b) void
setHasRecievedServerData
(boolean state) void
UnRegisterDevice
(WaveSignalDevice device) void
update()
void
UpdateScripts
(int hour, int mins) void
-
Field Details
-
SAVE_FILE
- See Also:
-
DEBUG_MODE
public static boolean DEBUG_MODE -
DEBUG_XML
public static boolean DEBUG_XML -
DEBUG_SOUND
public static boolean DEBUG_SOUND -
POST_RADIO_SILENCE
public static boolean POST_RADIO_SILENCE -
DISABLE_BROADCASTING
public static boolean DISABLE_BROADCASTING -
LOUISVILLE_OBFUSCATION
public static boolean LOUISVILLE_OBFUSCATION
-
-
Method Details
-
hasInstance
public static boolean hasInstance() -
getInstance
-
isStaticSound
-
getScriptManager
-
getDaysSinceStart
public int getDaysSinceStart() -
getDevices
-
getBroadcastDevices
-
setHasRecievedServerData
public void setHasRecievedServerData(boolean state) -
addChannelName
-
addChannelName
-
removeChannelName
public void removeChannelName(int frequency) -
GetChannelList
-
getChannelName
-
getRandomFrequency
public int getRandomFrequency() -
getRandomFrequency
public int getRandomFrequency(int rangemin, int rangemax) -
getFullChannelList
-
WriteRadioServerDataPacket
-
Init
public void Init(int savedWorldVersion) -
Save
- Throws:
FileNotFoundException
IOException
-
Load
- Throws:
FileNotFoundException
IOException
-
Reset
public void Reset() -
UpdateScripts
public void UpdateScripts(int hour, int mins) -
render
public void render() -
update
public void update() -
getGameMode
-
getRandomBzztFzzt
-
scrambleString
-
ReceiveTransmission
-
SendTransmission
-
SendTransmission
-
SendTransmission
-
PlayerListensChannel
public void PlayerListensChannel(int channel, boolean listenmode, boolean isTV) -
RegisterDevice
-
UnRegisterDevice
-
clone
-
computerize
-
getRecordedMedia
-
setDisableBroadcasting
public void setDisableBroadcasting(boolean b) -
getDisableBroadcasting
public boolean getDisableBroadcasting() -
setDisableMediaLineLearning
public void setDisableMediaLineLearning(boolean b) -
getDisableMediaLineLearning
public boolean getDisableMediaLineLearning() -
ObfuscateChannelCheck
-