Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Distance;
         hashCode = (hashCode * 397) ^ Radius;
         hashCode = (hashCode * 397) ^ RadiusDistance;
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Type != null ? Type.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (InCache != null ? InCache.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IgnoreReason != null ? IgnoreReason.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Weight != null ? Weight.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IsBoss != null ? IsBoss.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IsElite != null ? IsElite.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IsQuestMonster != null ? IsQuestMonster.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IsMinimapActive != null ? IsMinimapActive.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MarkerHash != null ? MarkerHash.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MinimapTexture != null ? MinimapTexture.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (WeightInfo != null ? WeightInfo.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ RActorGUID;
         hashCode = (hashCode * 397) ^ ActorSNO;
         hashCode = (hashCode * 397) ^ ACDGuid;
         return(hashCode);
     }
 }