Package zombie.chat
Class ChatManager
java.lang.Object
zombie.chat.ChatManager
public class ChatManager
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description void
addMessage(java.lang.String string, java.lang.String string2)
ChatMessage
createRadiostationMessage(java.lang.String string, int int1)
void
focusOnTab(java.lang.Short Short1)
ChatTab
getFocusTab()
static ChatManager
getInstance()
java.lang.String
getTabName(short short1)
void
init(boolean boolean1, IsoPlayer player)
java.lang.Boolean
isPlayerCanUseChat(ChatType chatType)
boolean
isSinglePlayerMode()
boolean
isWorking()
void
processAddTabPacket(java.nio.ByteBuffer byteBuffer)
void
processChatMessagePacket(java.nio.ByteBuffer byteBuffer)
void
processInitPlayerChatPacket(java.nio.ByteBuffer byteBuffer)
void
processJoinChatPacket(java.nio.ByteBuffer byteBuffer)
void
processLeaveChatPacket(java.nio.ByteBuffer byteBuffer)
void
processPlayerNotFound()
void
processRemoveTabPacket(java.nio.ByteBuffer byteBuffer)
void
sendMessageToChat(java.lang.String string, ChatType chatType, java.lang.String string2)
void
sendMessageToChat(ChatType chatType, java.lang.String string)
void
sendWhisperMessage(java.lang.String string, java.lang.String string2)
void
setFullyConnected()
void
showInfoMessage(java.lang.String string)
void
showInfoMessage(java.lang.String string, java.lang.String string2)
void
showRadioMessage(java.lang.String string)
void
showRadioMessage(ChatMessage chatMessage)
void
showServerChatMessage(java.lang.String string)
void
showStaticRadioSound(java.lang.String string)
ChatMessage
unpackMessage(java.nio.ByteBuffer byteBuffer)
void
updateChatSettings(java.lang.String string, boolean boolean1, boolean boolean2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
-
isSinglePlayerMode
public boolean isSinglePlayerMode() -
isWorking
public boolean isWorking() -
init
-
processInitPlayerChatPacket
public void processInitPlayerChatPacket(java.nio.ByteBuffer byteBuffer) -
setFullyConnected
public void setFullyConnected() -
processAddTabPacket
public void processAddTabPacket(java.nio.ByteBuffer byteBuffer) -
processRemoveTabPacket
public void processRemoveTabPacket(java.nio.ByteBuffer byteBuffer) -
processJoinChatPacket
public void processJoinChatPacket(java.nio.ByteBuffer byteBuffer) -
processLeaveChatPacket
public void processLeaveChatPacket(java.nio.ByteBuffer byteBuffer) -
processPlayerNotFound
public void processPlayerNotFound() -
unpackMessage
-
processChatMessagePacket
public void processChatMessagePacket(java.nio.ByteBuffer byteBuffer) -
updateChatSettings
public void updateChatSettings(java.lang.String string, boolean boolean1, boolean boolean2) -
showInfoMessage
public void showInfoMessage(java.lang.String string) -
showInfoMessage
public void showInfoMessage(java.lang.String string, java.lang.String string2) -
sendMessageToChat
public void sendMessageToChat(java.lang.String string, ChatType chatType, java.lang.String string2) -
sendMessageToChat
-
sendWhisperMessage
public void sendWhisperMessage(java.lang.String string, java.lang.String string2) -
isPlayerCanUseChat
-
focusOnTab
public void focusOnTab(java.lang.Short Short1) -
getTabName
public java.lang.String getTabName(short short1) -
getFocusTab
-
showRadioMessage
-
showRadioMessage
public void showRadioMessage(java.lang.String string) -
showStaticRadioSound
public void showStaticRadioSound(java.lang.String string) -
createRadiostationMessage
-
showServerChatMessage
public void showServerChatMessage(java.lang.String string) -
addMessage
public void addMessage(java.lang.String string, java.lang.String string2) throws java.lang.RuntimeException- Throws:
java.lang.RuntimeException
-