Package zombie.network.chat
Class ChatServer
java.lang.Object
zombie.network.chat.ChatServer
public class ChatServer
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description FactionChat
createFactionChat(java.lang.String string)
ChatMessage
createRadiostationMessage(java.lang.String string, int int1)
SafehouseChat
createSafehouseChat(java.lang.String string)
void
disconnectPlayer(int int1)
static ChatServer
getInstance()
void
init()
void
initPlayer(int int1)
static boolean
isInited()
void
joinAdminChat(java.lang.Integer integer)
void
leaveAdminChat(java.lang.Integer integer)
void
processMessageFromPlayerPacket(java.nio.ByteBuffer byteBuffer)
void
processPlayerStartWhisperChatPacket(java.nio.ByteBuffer byteBuffer)
void
removeFactionChat(java.lang.String string)
void
removeSafehouseChat(java.lang.String string)
void
sendMessageFromDiscordToGeneralChat(java.lang.String string, java.lang.String string2)
void
sendMessageToAdminChat(java.lang.String string)
void
sendMessageToServerChat(java.lang.String string)
void
sendMessageToServerChat(UdpConnection udpConnection, java.lang.String string)
void
sendServerAlertMessageToServerChat(java.lang.String string)
void
sendServerAlertMessageToServerChat(java.lang.String string, java.lang.String string2)
void
syncFactionChatMembers(java.lang.String string, java.lang.String string2, java.util.ArrayList arrayList)
void
syncSafehouseChatMembers(java.lang.String string, java.lang.String string2, java.util.ArrayList arrayList)
ChatMessage
unpackChatMessage(java.nio.ByteBuffer byteBuffer)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
-
isInited
public static boolean isInited() -
init
public void init() -
initPlayer
public void initPlayer(int int1) -
processMessageFromPlayerPacket
public void processMessageFromPlayerPacket(java.nio.ByteBuffer byteBuffer) -
processPlayerStartWhisperChatPacket
public void processPlayerStartWhisperChatPacket(java.nio.ByteBuffer byteBuffer) -
unpackChatMessage
-
disconnectPlayer
public void disconnectPlayer(int int1) -
joinAdminChat
public void joinAdminChat(java.lang.Integer integer) -
leaveAdminChat
public void leaveAdminChat(java.lang.Integer integer) -
createFactionChat
-
createSafehouseChat
-
removeFactionChat
public void removeFactionChat(java.lang.String string) -
removeSafehouseChat
public void removeSafehouseChat(java.lang.String string) -
syncFactionChatMembers
public void syncFactionChatMembers(java.lang.String string, java.lang.String string2, java.util.ArrayList arrayList) -
syncSafehouseChatMembers
public void syncSafehouseChatMembers(java.lang.String string, java.lang.String string2, java.util.ArrayList arrayList) -
sendServerAlertMessageToServerChat
public void sendServerAlertMessageToServerChat(java.lang.String string, java.lang.String string2) -
sendServerAlertMessageToServerChat
public void sendServerAlertMessageToServerChat(java.lang.String string) -
createRadiostationMessage
-
sendMessageToServerChat
-
sendMessageToServerChat
public void sendMessageToServerChat(java.lang.String string) -
sendMessageFromDiscordToGeneralChat
public void sendMessageFromDiscordToGeneralChat(java.lang.String string, java.lang.String string2) -
sendMessageToAdminChat
public void sendMessageToAdminChat(java.lang.String string)
-