Пример #1
0
        /// <summary>
        /// 移除已经交互的距离信息
        /// </summary>
        /// <param name="send">Send.</param>
        public void RemoveReceiveDistanced(DistanceInteraction send)
        {
            if (Distanced == null)
            {
                return;
            }
            if (!Distanced.Contains(send))
            {
                return;
            }

            Distanced.Remove(send);

            if (distanceData.maxCount != -1)
            {
                distanceData.maxCount++;
            }
        }
Пример #2
0
        public void RemoveReceiveDistanced(DistanceData send)
        {
            if (Distanced == null)
            {
                return;
            }

            if (!Distanced.Contains(send))
            {
                return;
            }

            Distanced.Remove(send);

            if (maxCount != -1)
            {
                maxCount++;
            }
        }