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

Method sendRoomStatus

src/Graphwar/GlobalClient.java:543–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541 }
542
543 public void sendRoomStatus()
544 {
545 if(roomCreated)
546 {
547 String message = NetworkProtocol.ROOM_STATUS+"&"+this.graphwar.getGameData().getGameMode()+"&"+this.graphwar.getGameData().getPlayers().size();
548
549 this.connection.sendMessage(message);
550 }
551 }
552
553 public boolean checkTimeout()
554 {

Callers 3

removePlayerMessageMethod · 0.45
addPlayerMessageMethod · 0.45
setModeMessageMethod · 0.45

Calls 4

getGameDataMethod · 0.80
getGameModeMethod · 0.45
getPlayersMethod · 0.45
sendMessageMethod · 0.45

Tested by

no test coverage detected