Class RadioScriptManager

java.lang.Object
zombie.radio.scripting.RadioScriptManager

public class RadioScriptManager
extends java.lang.Object
  • Method Details

    • hasInstance

      public static boolean hasInstance()
    • getInstance

      public static RadioScriptManager getInstance()
    • init

      public void init​(int int1)
    • getChannels

      public java.util.Map getChannels()
    • simulateScriptsUntil

      public void simulateScriptsUntil​(int int1, boolean boolean1)
    • simulateChannelUntil

      public void simulateChannelUntil​(int int1, int int2, boolean boolean1)
    • getCurrentTimeStamp

      public int getCurrentTimeStamp()
    • PlayerListensChannel

      public void PlayerListensChannel​(int int1, boolean boolean1, boolean boolean2)
    • AddChannel

      public void AddChannel​(RadioChannel radioChannel, boolean boolean1)
    • RemoveChannel

      public void RemoveChannel​(int int1)
    • UpdateScripts

      public void UpdateScripts​(int int1, int int2, int int3)
    • update

      public void update()
    • reset

      public void reset()
    • Save

      public void Save​(java.io.FileWriter fileWriter) throws java.io.IOException
      Throws:
      java.io.IOException
    • SaveOLD

      public void SaveOLD​(java.io.DataOutputStream dataOutputStream) throws java.io.IOException
      Throws:
      java.io.IOException
    • Load

      public void Load​(java.io.BufferedReader bufferedReader) throws java.io.IOException
      Throws:
      java.io.IOException
    • LoadOLD

      public void LoadOLD​(java.io.DataInputStream dataInputStream) throws java.io.IOException
      Throws:
      java.io.IOException