public override int GetHashCode() { int hash = 1; if (FrameId != 0) { hash ^= FrameId.GetHashCode(); } if (ShapeType != global::Physics.Telemetry.Serialised.ShapeTypePacket.Obb) { hash ^= ShapeType.GetHashCode(); } if (obbShape_ != null) { hash ^= ObbShape.GetHashCode(); } if (tetrahedronShape_ != null) { hash ^= TetrahedronShape.GetHashCode(); } if (convexHullShape_ != null) { hash ^= ConvexHullShape.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { if (Label != null) { return(Label.GetHashCode() ^ Coordinate.GetHashCode() ^ ShapeType.GetHashCode()); } else { return(Coordinate.GetHashCode() ^ ShapeType.GetHashCode()); } }
public override int GetHashCode() { return(ShapeType.GetHashCode()); }
public override int GetHashCode() => FileLength.GetHashCode() ^ ShapeType.GetHashCode() ^ BoundingBox.GetHashCode();