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

Method sendRoomStatus

src/RoomServer/GlobalClient.java:264–272  ·  view source on GitHub ↗
(int gameMode, int numPlayers)

Source from the content-addressed store, hash-verified

262 }
263
264 public void sendRoomStatus(int gameMode, int numPlayers)
265 {
266 if(roomCreated)
267 {
268 String message = NetworkProtocol.ROOM_STATUS+"&"+gameMode+"&"+numPlayers;
269
270 this.connection.sendMessage(message);
271 }
272 }
273
274 public boolean checkTimeout()
275 {

Callers 4

sendAddPlayerMessageMethod · 0.45
removePlayerMethod · 0.45
sendModeMessageMethod · 0.45
removeClientMethod · 0.45

Calls 1

sendMessageMethod · 0.45

Tested by

no test coverage detected