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

            if (PushType != global::AcFunDanmu.PushServiceToken.Types.PushType.KPushTypeInvalid)
            {
                hash ^= PushType.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (IsPassThrough != false)
            {
                hash ^= IsPassThrough.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (PushType != 0)
        {
            hash ^= PushType.GetHashCode();
        }
        if (GameID != 0)
        {
            hash ^= GameID.GetHashCode();
        }
        if (RoomID != 0UL)
        {
            hash ^= RoomID.GetHashCode();
        }
        hash ^= dstUids_.GetHashCode();
        if (CpProto.Length != 0)
        {
            hash ^= CpProto.GetHashCode();
        }
        return(hash);
    }