public override int GetHashCode() { if (thingInt != null) { return(thingInt.GetHashCode()); } return(Gen.HashCombine(cellInt.GetHashCode(), mapInt)); }
public override int GetHashCode() { if (thingInt != null) { return(thingInt.GetHashCode()); } return(cellInt.GetHashCode()); }
private List <Thing> BucketOf(Thing t) { int num = t.GetHashCode(); if (num < 0) { num *= -1; } int index = num % this.TickInterval; return(this.thingLists[index]); }