MCPcopy Create free account
hub / github.com/catabriga/graphwar / sendChat

Method sendChat

src/GlobalServer/GlobalServer.java:68–73  ·  view source on GitHub ↗
(int playerID, String chatMessage)

Source from the content-addressed store, hash-verified

66 }
67
68 private void sendChat(int playerID, String chatMessage)
69 {
70 String message = NetworkProtocol.SAY_CHAT+"&"+playerID+"&"+chatMessage;
71
72 sendMessageAll(message);
73 }
74
75 private void sendNewRoom(Room room)
76 {

Callers 1

handleMessageMethod · 0.95

Calls 1

sendMessageAllMethod · 0.95

Tested by

no test coverage detected