public override int GetHashCode() { int hash = 1; if (MsgId != 0) { hash ^= MsgId.GetHashCode(); } if (FullMethodName.Length != 0) { hash ^= FullMethodName.GetHashCode(); } if (Options != 0) { hash ^= Options.GetHashCode(); } if (dataTypeCase_ == DataTypeOneofCase.Payload) { hash ^= Payload.GetHashCode(); } if (dataTypeCase_ == DataTypeOneofCase.Exception) { hash ^= Exception.GetHashCode(); } hash ^= (int)dataTypeCase_; return(hash); }
public override int GetHashCode() { unchecked { int hashCode = MsgId.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Seqno; hashCode = (hashCode * 397) ^ (Body != null ? Body.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Content.Length != 0) { hash ^= Content.GetHashCode(); } if (MsgId != 0UL) { hash ^= MsgId.GetHashCode(); } if (Timestamp != 0UL) { hash ^= Timestamp.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (MsgId != global::MsgId.Unknown) { hash ^= MsgId.GetHashCode(); } if (ResMsg.Length != 0) { hash ^= ResMsg.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (header_ != null) { hash ^= Header.GetHashCode(); } if (MsgId != 0UL) { hash ^= MsgId.GetHashCode(); } if (Result != 0D) { hash ^= Result.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (MsgId != 0UL) { hash ^= MsgId.GetHashCode(); } if (senderIdCase_ == SenderIdOneofCase.ServerId) { hash ^= ServerId.GetHashCode(); } if (senderIdCase_ == SenderIdOneofCase.ClientId) { hash ^= ClientId.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.SystemMsg) { hash ^= SystemMsg.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.TickMsg) { hash ^= TickMsg.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.EventMsg) { hash ^= EventMsg.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.RoomMsg) { hash ^= RoomMsg.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.UserMngMsg) { hash ^= UserMngMsg.GetHashCode(); } if (messageTypeCase_ == MessageTypeOneofCase.AppMsg) { hash ^= AppMsg.GetHashCode(); } hash ^= (int)senderIdCase_; hash ^= (int)messageTypeCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (ActionId != 0) { hash ^= ActionId.GetHashCode(); } if (UserId != 0L) { hash ^= UserId.GetHashCode(); } if (MsgId != 0) { hash ^= MsgId.GetHashCode(); } if (Token.Length != 0) { hash ^= Token.GetHashCode(); } if (St != 0L) { hash ^= St.GetHashCode(); } if (Content.Length != 0) { hash ^= Content.GetHashCode(); } if (Sign.Length != 0) { hash ^= Sign.GetHashCode(); } if (ErrorCode != 0) { hash ^= ErrorCode.GetHashCode(); } if (ErrorInfo.Length != 0) { hash ^= ErrorInfo.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (DeviceId.Length != 0) { hash ^= DeviceId.GetHashCode(); } if (Temperature != 0D) { hash ^= Temperature.GetHashCode(); } if (Humidity != 0D) { hash ^= Humidity.GetHashCode(); } if (Pressure != 0D) { hash ^= Pressure.GetHashCode(); } if (MsgId != 0) { hash ^= MsgId.GetHashCode(); } if (Label.Length != 0) { hash ^= Label.GetHashCode(); } if (Probability != 0D) { hash ^= Probability.GetHashCode(); } if (Image.Length != 0) { hash ^= Image.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(MsgId.GetHashCode() ^ (ConvId.GetHashCode() << 16) | (ConvId.GetHashCode() >> (32 - 16))); }