// Sent if player wins game public void TestGameOver(int playerID) { int wonGame = 1; NetworkManager.Send(MatchOverProtocol.Prepare(playerID, wonGame), ProcessGameOver); }
public void TestGameOver() { int wonGame = 1; int matchID = GameState.matchID; NetworkManager.Send(MatchOverProtocol.Prepare(matchID, wonGame), ProcessGameOver); }