コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            hash ^= requirements_.GetHashCode();
            if (ShowInUi != false)
            {
                hash ^= ShowInUi.GetHashCode();
            }
            hash ^= ProfesionRanksMap.GetHashCode();
            hash ^= professionTiers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ReturnLocation.Length != 0)
            {
                hash ^= ReturnLocation.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (IconReturned.Length != 0)
            {
                hash ^= IconReturned.GetHashCode();
            }
            if (ShowInUi != false)
            {
                hash ^= ShowInUi.GetHashCode();
            }
            hash ^= mysteryData_.GetHashCode();
            if (StickerPlacedStoryboardId.Length != 0)
            {
                hash ^= StickerPlacedStoryboardId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Icon.Length != 0)
            {
                hash ^= Icon.GetHashCode();
            }
            if (LandmarkTexture.Length != 0)
            {
                hash ^= LandmarkTexture.GetHashCode();
            }
            if (LandmarkPrefab.Length != 0)
            {
                hash ^= LandmarkPrefab.GetHashCode();
            }
            if (LandmarkDescription.Length != 0)
            {
                hash ^= LandmarkDescription.GetHashCode();
            }
            if (ShowInUi != false)
            {
                hash ^= ShowInUi.GetHashCode();
            }
            if (LandmarkIcon.Length != 0)
            {
                hash ^= LandmarkIcon.GetHashCode();
            }
            if (color_ != null)
            {
                hash ^= Color.GetHashCode();
            }
            if (colorHighlight_ != null)
            {
                hash ^= ColorHighlight.GetHashCode();
            }
            if (TracePrefab.Length != 0)
            {
                hash ^= TracePrefab.GetHashCode();
            }
            hash ^= borderImages_.GetHashCode();
            if (FamilyRunestoneIcon.Length != 0)
            {
                hash ^= FamilyRunestoneIcon.GetHashCode();
            }
            if (sound_ != null)
            {
                hash ^= Sound.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }