Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (CharacterName != null ? CharacterName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AccountName != null ? AccountName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Profession;
         hashCode = (hashCode * 397) ^ (int)EliteSpecialization;
         hashCode = (hashCode * 397) ^ Subgroup;
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(CharacterName.GetHashCode());
 }