Пример #1
0
 private void 发出_结果()
 {
     lock (_sync_sendWhispers)
     {
         byte[][] dataResult = _currentStateHander.GetResult(_players);
         foreach (var player in _players)
         {
             _sendWhispers.Enqueue(new KeyValuePair <int, byte[][]>(player.Value.Key, dataResult));
         }
     }
 }