Package zombie.radio.scripting
Class RadioScriptManager
java.lang.Object
zombie.radio.scripting.RadioScriptManager
public class RadioScriptManager
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description void
AddChannel(RadioChannel radioChannel, boolean boolean1)
java.util.Map
getChannels()
int
getCurrentTimeStamp()
static RadioScriptManager
getInstance()
static boolean
hasInstance()
void
init(int int1)
void
Load(java.io.BufferedReader bufferedReader)
void
LoadOLD(java.io.DataInputStream dataInputStream)
void
PlayerListensChannel(int int1, boolean boolean1, boolean boolean2)
void
RemoveChannel(int int1)
void
reset()
void
Save(java.io.FileWriter fileWriter)
void
SaveOLD(java.io.DataOutputStream dataOutputStream)
void
simulateChannelUntil(int int1, int int2, boolean boolean1)
void
simulateScriptsUntil(int int1, boolean boolean1)
void
update()
void
UpdateScripts(int int1, int int2, int int3)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
hasInstance
public static boolean hasInstance() -
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
-
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
-