示例#1
0
        // Sent if player wins game
        public void TestGameOver(int playerID)
        {
            int wonGame = 1;

            NetworkManager.Send(MatchOverProtocol.Prepare(playerID, wonGame),
                                ProcessGameOver);
        }
示例#2
0
        public void TestGameOver()
        {
            int wonGame = 1;
            int matchID = GameState.matchID;

            NetworkManager.Send(MatchOverProtocol.Prepare(matchID, wonGame),
                                ProcessGameOver);
        }