public override int GetHashCode() { unchecked { return((269 + Level * 23 + BatchId.GetHashCode()) * 23 + CellId.GetHashCode()); } }
/// <summary>Serves as a hash function for the CellInfo type.</summary> /// <returns>A hash code for the current CellInfo.</returns> public override int GetHashCode() { if (CellId != null) { return(CellId.GetHashCode()); } return(base.GetHashCode()); }
public override int GetHashCode() { unchecked { int hash = BatchId != null?BatchId.GetHashCode() : 0; hash = (hash * 397) ^ (CellId != null ? CellId.GetHashCode() : 0); hash = (hash * 397) ^ Level; return(hash); } }
public override int GetHashCode() { int hash = 1; if (CellId != 0) { hash ^= CellId.GetHashCode(); } if (TrainerId != 0L) { hash ^= TrainerId.GetHashCode(); } if (EnergyCost != 0) { hash ^= EnergyCost.GetHashCode(); } if (OrbCost != 0) { hash ^= OrbCost.GetHashCode(); } if (X != 0) { hash ^= X.GetHashCode(); } if (Y != 0) { hash ^= Y.GetHashCode(); } if (Z != 0) { hash ^= Z.GetHashCode(); } if (AbilityId != 0L) { hash ^= AbilityId.GetHashCode(); } hash ^= conditionIds_.GetHashCode(); if (ScheduleId.Length != 0) { hash ^= ScheduleId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((database != null ? database.GetHashCode() : 0) * 397) ^ cellId.GetHashCode()); } }
public override int GetHashCode() { return(CellId.GetHashCode()); }
public override int GetHashCode() { return(CellId.GetHashCode() * SellItem.GetHashCode() * SellItemQty.GetHashCode()); }