Package zombie.radio

Class ZomboidRadio

java.lang.Object
zombie.radio.ZomboidRadio

public class ZomboidRadio
extends java.lang.Object
  • 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

      public static ZomboidRadio getInstance()
    • isStaticSound

      public static boolean isStaticSound​(java.lang.String string)
    • getScriptManager

      public RadioScriptManager 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

      public void WriteRadioServerDataPacket​(ByteBufferWriter byteBufferWriter)
    • 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

      public GameMode 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

      public void SendTransmission​(int int1, int int2, ChatMessage chatMessage, int int3)
    • 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

      public void RegisterDevice​(WaveSignalDevice waveSignalDevice)
    • UnRegisterDevice

      public void UnRegisterDevice​(WaveSignalDevice waveSignalDevice)
    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class java.lang.Object