Exemplo n.º 1
0
 public void SendRequestJoinGame(byte gameId, int preferredTeamNumber)
 {
     var taggerId = new RandomId();
     var packet = PacketPacker.RequestJoinGame(gameId, taggerId, preferredTeamNumber);
     TransmitPacket(packet);
     Log.Add(Log.Severity.Information,
         "Sending request to join game 0x{0:X2} with tagger ID 0x{1:X2}. Requesting team {2}", gameId, taggerId,
         preferredTeamNumber);
 }
Exemplo n.º 2
0
        public void SendRequestJoinGame(byte gameId, int preferredTeamNumber)
        {
            var taggerId = new RandomId();
            var packet   = PacketPacker.RequestJoinGame(gameId, taggerId, preferredTeamNumber);

            TransmitPacket(packet);
            Log.Add(Log.Severity.Information,
                    "Sending request to join game 0x{0:X2} with tagger ID 0x{1:X2}. Requesting team {2}", gameId, taggerId,
                    preferredTeamNumber);
        }