Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityMissionId != 0)
            {
                hash ^= ActivityMissionId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Progress != 0L)
            {
                hash ^= Progress.GetHashCode();
            }
            if (Finish != 0L)
            {
                hash ^= Finish.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityMissionId != 0)
            {
                hash ^= ActivityMissionId.GetHashCode();
            }
            if (ActivityMissionName.Length != 0)
            {
                hash ^= ActivityMissionName.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (ActivityMissionDesc.Length != 0)
            {
                hash ^= ActivityMissionDesc.GetHashCode();
            }
            if (JumpTo.Length != 0)
            {
                hash ^= JumpTo.GetHashCode();
            }
            if (extra_ != null)
            {
                hash ^= Extra.GetHashCode();
            }
            return(hash);
        }