Package zombie.radio
Class ZomboidRadio
java.lang.Object
zombie.radio.ZomboidRadio
public final class ZomboidRadio
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG_MODE
static boolean
DEBUG_SOUND
static boolean
DEBUG_XML
static boolean
DISABLE_BROADCASTING
static boolean
LOUISVILLE_OBFUSCATION
static boolean
POST_RADIO_SILENCE
static java.lang.String
SAVE_FILE
-
Method Summary
Modifier and Type Method Description void
addChannelName(java.lang.String string, int int1, java.lang.String string2)
void
addChannelName(java.lang.String string, int int1, java.lang.String string2, boolean boolean1)
java.lang.Object
clone()
java.lang.String
computerize(java.lang.String string)
java.util.ArrayList
getBroadcastDevices()
java.util.Map
GetChannelList(java.lang.String string)
java.lang.String
getChannelName(int int1)
int
getDaysSinceStart()
java.util.ArrayList
getDevices()
boolean
getDisableBroadcasting()
boolean
getDisableMediaLineLearning()
java.util.Map
getFullChannelList()
GameMode
getGameMode()
static ZomboidRadio
getInstance()
java.lang.String
getRandomBzztFzzt()
int
getRandomFrequency()
int
getRandomFrequency(int int1, int int2)
RecordedMedia
getRecordedMedia()
RadioScriptManager
getScriptManager()
static boolean
hasInstance()
void
Init(int int1)
static boolean
isStaticSound(java.lang.String string)
boolean
Load()
static void
ObfuscateChannelCheck(RadioChannel radioChannel)
void
PlayerListensChannel(int int1, boolean boolean1, boolean boolean2)
void
ReceiveTransmission(int int1, int int2, int int3, java.lang.String string, java.lang.String string2, float float1, float float2, float float3, int int4, boolean boolean1)
void
RegisterDevice(WaveSignalDevice waveSignalDevice)
void
removeChannelName(int int1)
void
render()
void
Reset()
void
Save()
java.lang.String
scrambleString(java.lang.String string, int int1, boolean boolean1, java.lang.String string2)
void
SendTransmission(int int1, int int2, int int3, java.lang.String string, java.lang.String string2, float float1, float float2, float float3, int int4, boolean boolean1)
void
SendTransmission(int int1, int int2, ChatMessage chatMessage, int int3)
void
setDisableBroadcasting(boolean boolean1)
void
setDisableMediaLineLearning(boolean boolean1)
void
setHasRecievedServerData(boolean boolean1)
void
UnRegisterDevice(WaveSignalDevice waveSignalDevice)
void
update()
void
UpdateScripts(int int1, int int2)
void
WriteRadioServerDataPacket(ByteBufferWriter byteBufferWriter)
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SAVE_FILE
public static final java.lang.String SAVE_FILE- See Also:
- Constant Field Values
-
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
public static boolean isStaticSound(java.lang.String string) -
getScriptManager
-
getDaysSinceStart
public int getDaysSinceStart() -
getDevices
public java.util.ArrayList getDevices() -
getBroadcastDevices
public java.util.ArrayList getBroadcastDevices() -
setHasRecievedServerData
public void setHasRecievedServerData(boolean boolean1) -
addChannelName
public void addChannelName(java.lang.String string, int int1, java.lang.String string2) -
addChannelName
public void addChannelName(java.lang.String string, int int1, java.lang.String string2, boolean boolean1) -
removeChannelName
public void removeChannelName(int int1) -
GetChannelList
public java.util.Map GetChannelList(java.lang.String string) -
getChannelName
public java.lang.String getChannelName(int int1) -
getRandomFrequency
public int getRandomFrequency() -
getRandomFrequency
public int getRandomFrequency(int int1, int int2) -
getFullChannelList
public java.util.Map getFullChannelList() -
WriteRadioServerDataPacket
-
Init
public void Init(int int1) -
Save
public void Save() throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
Load
public boolean Load() throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
Reset
public void Reset() -
UpdateScripts
public void UpdateScripts(int int1, int int2) -
render
public void render() -
update
public void update() -
getGameMode
-
getRandomBzztFzzt
public java.lang.String getRandomBzztFzzt() -
scrambleString
public java.lang.String scrambleString(java.lang.String string, int int1, boolean boolean1, java.lang.String string2) -
ReceiveTransmission
public void ReceiveTransmission(int int1, int int2, int int3, java.lang.String string, java.lang.String string2, float float1, float float2, float float3, int int4, boolean boolean1) -
SendTransmission
-
SendTransmission
public void SendTransmission(int int1, int int2, int int3, java.lang.String string, java.lang.String string2, float float1, float float2, float float3, int int4, boolean boolean1) -
PlayerListensChannel
public void PlayerListensChannel(int int1, boolean boolean1, boolean boolean2) -
RegisterDevice
-
UnRegisterDevice
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
computerize
public java.lang.String computerize(java.lang.String string) -
getRecordedMedia
-
setDisableBroadcasting
public void setDisableBroadcasting(boolean boolean1) -
getDisableBroadcasting
public boolean getDisableBroadcasting() -
setDisableMediaLineLearning
public void setDisableMediaLineLearning(boolean boolean1) -
getDisableMediaLineLearning
public boolean getDisableMediaLineLearning() -
ObfuscateChannelCheck
-