Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (NpcId != 0)
            {
                hash ^= NpcId.GetHashCode();
            }
            if (NpcName.Length != 0)
            {
                hash ^= NpcName.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (NpcId != 0)
            {
                hash ^= NpcId.GetHashCode();
            }
            hash ^= selectIds_.GetHashCode();
            if (ReadState != 0)
            {
                hash ^= ReadState.GetHashCode();
            }
            if (CreateTime != 0L)
            {
                hash ^= CreateTime.GetHashCode();
            }
            hash ^= listenIds_.GetHashCode();
            if (FinishTime != 0L)
            {
                hash ^= FinishTime.GetHashCode();
            }
            if (TipState != 0)
            {
                hash ^= TipState.GetHashCode();
            }
            return(hash);
        }