Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerLevel != 0)
            {
                hash ^= PlayerLevel.GetHashCode();
            }
            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (NodeLocation.Length != 0)
            {
                hash ^= NodeLocation.GetHashCode();
            }
            if (Outcome != 0)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
 public override int GetHashCode()
 {
     return(NodeLocation.GetHashCode());
 }