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

            if (Codename.Length != 0)
            {
                hash ^= Codename.GetHashCode();
            }
            if (UserMessage.Length != 0)
            {
                hash ^= UserMessage.GetHashCode();
            }
            if (IsAssignable != false)
            {
                hash ^= IsAssignable.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (updatedPlayer_ != null)
            {
                hash ^= UpdatedPlayer.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Codename.Length != 0)
            {
                hash ^= Codename.GetHashCode();
            }
            if (UserMessage.Length != 0)
            {
                hash ^= UserMessage.GetHashCode();
            }
            if (IsAssignable != false)
            {
                hash ^= IsAssignable.GetHashCode();
            }
            if (Status != global::POGOProtos.Networking.Responses.ClaimCodenameResponse.Types.Status.UNSET)
            {
                hash ^= Status.GetHashCode();
            }
            if (updatedPlayer_ != null)
            {
                hash ^= UpdatedPlayer.GetHashCode();
            }
            return(hash);
        }