public override int GetHashCode() { int hash = 1; if (X != 0) { hash ^= X.GetHashCode(); } if (Y != 0) { hash ^= Y.GetHashCode(); } if (ActionType != 0) { hash ^= ActionType.GetHashCode(); } if (WheelRotation != 0) { hash ^= WheelRotation.GetHashCode(); } if (RelativePosition != false) { hash ^= RelativePosition.GetHashCode(); } if (MappedToVirtualDesktop != false) { hash ^= MappedToVirtualDesktop.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <override></override> public override int GetHashCode() { return(Distance.GetHashCode() ^ RelativePosition.GetHashCode() ^ Alpha.GetHashCode() ^ Beta.GetHashCode() ^ LabelAngle.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (relativePosition_ != null) { hash ^= RelativePosition.GetHashCode(); } if (relativeVelocity_ != null) { hash ^= RelativeVelocity.GetHashCode(); } if (Rcs != 0D) { hash ^= Rcs.GetHashCode(); } if (Movable != false) { hash ^= Movable.GetHashCode(); } if (Width != 0D) { hash ^= Width.GetHashCode(); } if (Length != 0D) { hash ^= Length.GetHashCode(); } if (Height != 0D) { hash ^= Height.GetHashCode(); } if (Theta != 0D) { hash ^= Theta.GetHashCode(); } if (absolutePosition_ != null) { hash ^= AbsolutePosition.GetHashCode(); } if (absoluteVelocity_ != null) { hash ^= AbsoluteVelocity.GetHashCode(); } if (Count != 0) { hash ^= Count.GetHashCode(); } if (MovingFramesCount != 0) { hash ^= MovingFramesCount.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int hashCode = RelativePosition.GetHashCode(); hashCode = (hashCode * 397) ^ (TerrainChunk != null ? TerrainChunk.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ RelativePosition.GetHashCode(); hashCode = (hashCode * 397) ^ RelativeRotationEuler.GetHashCode(); hashCode = (hashCode * 397) ^ ObjectScale.GetHashCode(); hashCode = (hashCode * 397) ^ CreatedTime.GetHashCode(); hashCode = (hashCode * 397) ^ LastUpdatedTime.GetHashCode(); hashCode = (hashCode * 397) ^ LastUsedTime.GetHashCode(); return(hashCode); } }