Package zombie.radio.scripting
Class RadioChannel
java.lang.Object
zombie.radio.scripting.RadioChannel
public class RadioChannel
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RadioChannel(java.lang.String n, int freq, ChannelCategory c)
RadioChannel(java.lang.String n, int freq, ChannelCategory c, java.lang.String guid)
-
Method Summary
Modifier and Type Method Description void
AddRadioScript(RadioScript script)
RadioBroadCast
getAiringBroadcast()
ChannelCategory
GetCategory()
RadioScript
getCurrentScript()
int
getCurrentScriptLoop()
int
getCurrentScriptMaxLoops()
int
GetFrequency()
java.lang.String
getGUID()
java.lang.String
getLastAiredLine()
java.lang.String
GetName()
boolean
GetPlayerIsListening()
RadioData
getRadioData()
RadioScript
getRadioScript(java.lang.String script)
boolean
isTimeSynced()
boolean
IsTv()
void
setActiveScript(java.lang.String scriptName, int day)
void
setActiveScript(java.lang.String scriptName, int day, int loop, int maxloops)
void
setActiveScriptNull()
void
SetPlayerIsListening(boolean isListening)
void
setRadioData(RadioData radioData)
void
setTimeSynced(boolean isTimeSynced)
void
update()
void
UpdateScripts(int timestamp, int day)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RadioChannel
-
RadioChannel
-
-
Method Details
-
getGUID
public java.lang.String getGUID() -
GetFrequency
public int GetFrequency() -
GetName
public java.lang.String GetName() -
IsTv
public boolean IsTv() -
GetCategory
-
getCurrentScript
-
getAiringBroadcast
-
getLastAiredLine
public java.lang.String getLastAiredLine() -
getCurrentScriptLoop
public int getCurrentScriptLoop() -
getCurrentScriptMaxLoops
public int getCurrentScriptMaxLoops() -
getRadioData
-
setRadioData
-
isTimeSynced
public boolean isTimeSynced() -
setTimeSynced
public void setTimeSynced(boolean isTimeSynced) -
SetPlayerIsListening
public void SetPlayerIsListening(boolean isListening) -
GetPlayerIsListening
public boolean GetPlayerIsListening() -
setActiveScriptNull
public void setActiveScriptNull() -
setActiveScript
public void setActiveScript(java.lang.String scriptName, int day) -
setActiveScript
public void setActiveScript(java.lang.String scriptName, int day, int loop, int maxloops) -
UpdateScripts
public void UpdateScripts(int timestamp, int day) -
update
public void update() -
AddRadioScript
-
getRadioScript
-