BattleInfoPlugin.Models.MapCellData.GetHashCode C# (CSharp) Метод

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = ColorNo;
                hashCode = (hashCode * 397) ^ CommentKind;
                hashCode = (hashCode * 397) ^ EventId;
                hashCode = (hashCode * 397) ^ EventKind;
                hashCode = (hashCode * 397) ^ No;
                hashCode = (hashCode * 397) ^ MapAreaId;
                hashCode = (hashCode * 397) ^ MapInfoIdInEachMapArea;
                hashCode = (hashCode * 397) ^ ProductionKind;
                hashCode = (hashCode * 397) ^ SelectCells.GetValuesHashCode();
                hashCode = (hashCode * 397) ^ Distance;
                return hashCode;
            }
        }