|
Britbot
|
Gets a unique-ish hash code for the object.
Definition at line 271 of file EnemyGroup.cs. {
unchecked
{
int hashCode = this.Id;
hashCode = (hashCode * 397) ^ this._lastAssignmentTurn;
hashCode = (hashCode * 397) ^ (this._lastDirections != null ? this._lastDirections.GetHashCode() : 0);
hashCode = (hashCode * 397) ^
(this._lastMaxFightPower != null ? this._lastMaxFightPower.GetHashCode() : 0);
hashCode = (hashCode * 397) ^ (this.PrevLoc != null ? this.PrevLoc.GetHashCode() : 0);
hashCode = (hashCode * 397) ^ (this.EnemyPirates != null ? this.EnemyPirates.GetHashCode() : 0);
return hashCode;
}
}
|
1.7.6.1