Package zombie.radio
Class ZomboidRadio
java.lang.Object
zombie.radio.ZomboidRadio
public 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 int
DUMMY_VALUE_NO_LONGER_USED
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.util.ArrayList
getBroadcastDevices()
java.util.Map
GetChannelList(java.lang.String string)
java.lang.String
getChannelName(int int1)
int
getDaysSinceStart()
java.util.ArrayList
getDevices()
java.util.Map
getFullChannelList()
GameMode
getGameMode()
static ZomboidRadio
getInstance()
java.lang.String
getRandomBzztFzzt()
RadioScriptManager
getScriptManager()
static boolean
hasInstance()
void
Init(int int1)
static boolean
isStaticSound(java.lang.String string)
boolean
Load()
void
PlayerListensChannel(int int1, boolean boolean1, boolean boolean2)
void
ReceiveTransmission(int int1, int int2, int int3, ChatMessage chatMessage, java.lang.String string, 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, ChatMessage chatMessage, java.lang.String string, float float1, float float2, float float3, int int4, boolean boolean1)
void
SendTransmission(int int1, int int2, ChatMessage chatMessage, int int3)
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
-
DUMMY_VALUE_NO_LONGER_USED
public static int DUMMY_VALUE_NO_LONGER_USED -
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
-
-
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) -
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, ChatMessage chatMessage, java.lang.String string, float float1, float float2, float float3, int int4, boolean boolean1) -
SendTransmission
-
SendTransmission
public void SendTransmission(int int1, int int2, int int3, ChatMessage chatMessage, java.lang.String string, 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
-