Class ChatServer
java.lang.Object
zombie.network.chat.ChatServer
-
Method Summary
Modifier and TypeMethodDescriptioncreateFactionChat(String name) createRadiostationMessage(String text, int radioChannel) createSafehouseChat(String safehouseID) voiddisconnectPlayer(short playerID) static ChatServervoidinit()voidinitPlayer(short playerID) static booleanisInited()voidjoinAdminChat(short playerID) voidleaveAdminChat(short playerID) voidprocessMessageFromPlayerPacket(ByteBuffer bb, UdpConnection connection) voidvoidremoveFactionChat(String factionName) voidremoveSafehouseChat(String safehouseName) voidsendMessageFromDiscordToGeneralChat(String author, String msg) voidvoidvoidsendMessageToServerChat(UdpConnection connection, String msg) voidvoidsendServerAlertMessageToServerChat(String author, String msg) voidsyncFactionChatMembers(String factionName, String factionOwner, ArrayList<String> players) voidsyncSafehouseChatMembers(String safehouseID, String safehouseOwner, ArrayList<String> players)
-
Method Details
-
getInstance
-
isInited
public static boolean isInited() -
init
public void init() -
initPlayer
public void initPlayer(short playerID) -
processMessageFromPlayerPacket
-
processPlayerStartWhisperChatPacket
-
unpackChatMessage
-
disconnectPlayer
public void disconnectPlayer(short playerID) -
joinAdminChat
public void joinAdminChat(short playerID) -
leaveAdminChat
public void leaveAdminChat(short playerID) -
createFactionChat
-
createSafehouseChat
-
removeFactionChat
-
removeSafehouseChat
-
syncFactionChatMembers
-
syncSafehouseChatMembers
-
sendServerAlertMessageToServerChat
-
sendServerAlertMessageToServerChat
-
createRadiostationMessage
-
sendMessageToServerChat
-
sendMessageToServerChat
-
sendMessageFromDiscordToGeneralChat
-
sendMessageToAdminChat
-