public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (EncounterSearchingTimeline.Length != 0) { hash ^= EncounterSearchingTimeline.GetHashCode(); } hash ^= encounterSearchingIdleTimelines_.GetHashCode(); if (EncounterFleeTimeline.Length != 0) { hash ^= EncounterFleeTimeline.GetHashCode(); } if (EncounterTarget.Length != 0) { hash ^= EncounterTarget.GetHashCode(); } hash ^= stages_.GetHashCode(); if (EncounterTargetLayout.Length != 0) { hash ^= EncounterTargetLayout.GetHashCode(); } if (SearchTargetLayout.Length != 0) { hash ^= SearchTargetLayout.GetHashCode(); } hash ^= encounterAssets_.GetHashCode(); if (EncounterMapSprite.Length != 0) { hash ^= EncounterMapSprite.GetHashCode(); } hash ^= encounterMusicParams_.GetHashCode(); if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (EncounterMapSpriteFrame.Length != 0) { hash ^= EncounterMapSpriteFrame.GetHashCode(); } if (mapHealthBarColor_ != null) { hash ^= MapHealthBarColor.GetHashCode(); } if (hudHealthBarColor_ != null) { hash ^= HudHealthBarColor.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (SequenceType != 0) { hash ^= SequenceType.GetHashCode(); } if (Obstacle.Length != 0) { hash ^= Obstacle.GetHashCode(); } if (ObstacleAlias.Length != 0) { hash ^= ObstacleAlias.GetHashCode(); } if (EncounterTarget.Length != 0) { hash ^= EncounterTarget.GetHashCode(); } if (TimelineFile.Length != 0) { hash ^= TimelineFile.GetHashCode(); } if (SequenceDelayTime != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SequenceDelayTime); } if (SequenceLayoutNode.Length != 0) { hash ^= SequenceLayoutNode.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }