public override int GetHashCode() { int hash = 1; if (ModeType.Length != 0) { hash ^= ModeType.GetHashCode(); } if (Uid != 0) { hash ^= Uid.GetHashCode(); } if (MsgType.Length != 0) { hash ^= MsgType.GetHashCode(); } if (ConnectId != 0) { hash ^= ConnectId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = -223394155; hashCode = hashCode * -1521134295 + EqualityComparer <IntPoint> .Default.GetHashCode(wannaOffset); hashCode = hashCode * -1521134295 + FlipX.GetHashCode(); hashCode = hashCode * -1521134295 + FlipY.GetHashCode(); hashCode = hashCode * -1521134295 + ModeType.GetHashCode(); hashCode = hashCode * -1521134295 + ReferencePositionType.GetHashCode(); return(hashCode); }